mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
Allow admin to be nullable (for cli)
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
50df750202
commit
ec24120d2a
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue