mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 00:15:39 +00:00
Allow admin to be nullable (for cli)
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@ -15,7 +15,7 @@ class UserMerged
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(User $from_user, User $to_user, User $admin)
|
||||
public function __construct(User $from_user, User $to_user, ?User $admin)
|
||||
{
|
||||
$this->merged_from = $from_user;
|
||||
$this->merged_to = $to_user;
|
||||
|
||||
Reference in New Issue
Block a user