From 4c363fe76c2d5260a465caab99181406da4a56d3 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 27 Mar 2020 15:13:53 +0100 Subject: [PATCH] Remove unnecessary constructor parameter --- .../core/src/Notification/NotificationSyncer.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/framework/core/src/Notification/NotificationSyncer.php b/framework/core/src/Notification/NotificationSyncer.php index b6b6f96e1..94d154893 100644 --- a/framework/core/src/Notification/NotificationSyncer.php +++ b/framework/core/src/Notification/NotificationSyncer.php @@ -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; }