| 1 | <?php |
||
| 9 | class SendFreshNotificationsHandler |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var NotificationRepository |
||
| 13 | */ |
||
| 14 | private $notificationRepository; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var SendNotificationService |
||
| 18 | */ |
||
| 19 | private $sendNotificationService; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param NotificationRepository $notificationRepository |
||
| 23 | * @param SendNotificationService $sendNotificationService |
||
| 24 | */ |
||
| 25 | public function __construct( |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param SendFreshNotifications $command |
||
| 35 | */ |
||
| 36 | public function handle(SendFreshNotifications $command): void |
||
| 43 | } |
||
| 44 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.