mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various phpstan fixes [skip ci]
This commit is contained in:
@@ -46,12 +46,10 @@ class UserInvitation extends Notification
|
||||
use Queueable;
|
||||
|
||||
private InvitedUser $invitee;
|
||||
private OwnerNotifiable $owner;
|
||||
|
||||
public function __construct(OwnerNotifiable $owner, InvitedUser $invitee)
|
||||
public function __construct(InvitedUser $invitee)
|
||||
{
|
||||
$this->invitee = $invitee;
|
||||
$this->owner = $owner;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -45,13 +45,11 @@ class UserRegistration extends Notification
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
private OwnerNotifiable $owner;
|
||||
private User $user;
|
||||
|
||||
public function __construct(OwnerNotifiable $owner, User $user)
|
||||
public function __construct( User $user)
|
||||
{
|
||||
$this->user = $user;
|
||||
$this->owner = $owner;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user