Remove unnecessary constructor parameter

This commit is contained in:
Franz Liedke 2020-03-27 15:13:53 +01:00
parent 2277f26e84
commit 4c363fe76c

View File

@ -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;
}