Made it to level 6!

This commit is contained in:
James Cole
2025-01-04 15:16:11 +01:00
parent 54d0433dd4
commit 5602715c96
35 changed files with 99 additions and 103 deletions

View File

@@ -42,10 +42,8 @@ class OwnerTestNotificationNtfy extends Notification
/**
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*
* @param mixed $notifiable
*/
public function toArray($notifiable)
public function toArray(OwnerNotifiable $notifiable): array
{
return [
];
@@ -69,7 +67,7 @@ class OwnerTestNotificationNtfy extends Notification
/**
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
public function via(OwnerNotifiable $notifiable): array
{
return [NtfyChannel::class];
}