🤖 Auto commit for release 'develop' on 2026-01-19

This commit is contained in:
JC5
2026-01-19 20:23:36 +01:00
parent 30205d828a
commit 734df18f4e
26 changed files with 271 additions and 226 deletions

View File

@@ -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.');
}
}