mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-31 01:39:26 +00:00
🤖 Auto commit for release 'develop' on 2026-01-19
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
/*
|
||||
* UserHasUsedBackupCode.php
|
||||
* Copyright (c) 2026 james@firefly-iii.org
|
||||
@@ -37,8 +39,10 @@ class UserHasUsedBackupCode extends Event
|
||||
{
|
||||
if ($user instanceof User) {
|
||||
$this->user = $user;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
throw new InvalidArgumentException('User must be an instance of User.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user