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