mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -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
|
* @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_from = $from_user;
|
||||||
$this->merged_to = $to_user;
|
$this->merged_to = $to_user;
|
||||||
|
|
Loading…
Reference in a new issue