| 1 | <?php |
||
| 8 | class SendUnsentNotificationsHandler |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var NotificationRepository |
||
| 12 | */ |
||
| 13 | private $notificationRepository; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var GatewayRegistry |
||
| 17 | */ |
||
| 18 | private $gatewayRegistry; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param NotificationRepository $notificationRepository |
||
| 22 | * @param GatewayRegistry $gatewayRegistry |
||
| 23 | */ |
||
| 24 | public function __construct( |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param SendUnsentNotifications $command |
||
| 34 | */ |
||
| 35 | public function handle(SendUnsentNotifications $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.