Allow admin to be nullable (for cli)
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
50df750202
commit
ec24120d2a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue