mirror of
https://github.com/flarum/core.git
synced 2025-07-28 12:10:51 +02:00
Remove unnecessary constructor parameter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user