mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:11:56 +08:00
Remove unnecessary constructor parameter
This commit is contained in:
parent
23da7b3373
commit
310065fb1c
@ -37,21 +37,13 @@ class NotificationSyncer
|
||||
*/
|
||||
protected static $sentTo = [];
|
||||
|
||||
/**
|
||||
* @var NotificationRepository
|
||||
*/
|
||||
protected $notifications;
|
||||
|
||||
/**
|
||||
* @var Queue
|
||||
*/
|
||||
protected $queue;
|
||||
|
||||
public function __construct(
|
||||
NotificationRepository $notifications,
|
||||
Queue $queue
|
||||
) {
|
||||
$this->notifications = $notifications;
|
||||
public function __construct(Queue $queue)
|
||||
{
|
||||
$this->queue = $queue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user