fix phpstan warnings

This commit is contained in:
James Cole
2025-01-03 15:53:10 +01:00
parent d95f3ca59f
commit fe4d139817
173 changed files with 374 additions and 360 deletions

View File

@@ -48,7 +48,7 @@ class UnknownUserLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -57,7 +57,7 @@ class UnknownUserLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(OwnerNotifiable $notifiable): MailMessage
{
@@ -73,7 +73,7 @@ class UnknownUserLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(OwnerNotifiable $notifiable): Message
{
@@ -87,7 +87,7 @@ class UnknownUserLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(OwnerNotifiable $notifiable): PushoverMessage
{
@@ -97,7 +97,7 @@ class UnknownUserLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(OwnerNotifiable $notifiable): SlackMessage
{
@@ -107,7 +107,7 @@ class UnknownUserLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -55,7 +55,7 @@ class UserInvitation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -64,7 +64,7 @@ class UserInvitation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(OwnerNotifiable $notifiable)
{
@@ -81,7 +81,7 @@ class UserInvitation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(OwnerNotifiable $notifiable): Message
{
@@ -96,7 +96,7 @@ class UserInvitation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(OwnerNotifiable $notifiable): PushoverMessage
{
@@ -108,7 +108,7 @@ class UserInvitation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(OwnerNotifiable $notifiable)
{
@@ -118,7 +118,7 @@ class UserInvitation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -55,7 +55,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -64,7 +64,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(OwnerNotifiable $notifiable)
{
@@ -80,7 +80,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(OwnerNotifiable $notifiable): Message
{
@@ -95,7 +95,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(OwnerNotifiable $notifiable): PushoverMessage
{
@@ -107,7 +107,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(OwnerNotifiable $notifiable)
{
@@ -115,7 +115,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -50,7 +50,7 @@ class VersionCheckResult extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -59,7 +59,7 @@ class VersionCheckResult extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(OwnerNotifiable $notifiable)
{
@@ -70,7 +70,7 @@ class VersionCheckResult extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(OwnerNotifiable $notifiable): Message
{
@@ -85,7 +85,7 @@ class VersionCheckResult extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(OwnerNotifiable $notifiable): PushoverMessage
{
@@ -97,7 +97,7 @@ class VersionCheckResult extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(OwnerNotifiable $notifiable)
{
@@ -109,7 +109,7 @@ class VersionCheckResult extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -48,7 +48,7 @@ class DisabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class DisabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -82,7 +82,7 @@ class DisabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -92,7 +92,7 @@ class DisabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -102,7 +102,7 @@ class DisabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -48,7 +48,7 @@ class EnabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class EnabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -82,7 +82,7 @@ class EnabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -92,7 +92,7 @@ class EnabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -102,7 +102,7 @@ class EnabledMFANotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -50,7 +50,7 @@ class MFABackupFewLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -59,7 +59,7 @@ class MFABackupFewLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -84,7 +84,7 @@ class MFABackupFewLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -94,7 +94,7 @@ class MFABackupFewLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -104,7 +104,7 @@ class MFABackupFewLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -48,7 +48,7 @@ class MFABackupNoLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class MFABackupNoLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -82,7 +82,7 @@ class MFABackupNoLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -92,7 +92,7 @@ class MFABackupNoLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -102,7 +102,7 @@ class MFABackupNoLeftNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -56,7 +56,7 @@ class MFAManyFailedAttemptsNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -81,7 +81,7 @@ class MFAManyFailedAttemptsNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -91,7 +91,7 @@ class MFAManyFailedAttemptsNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -101,7 +101,7 @@ class MFAManyFailedAttemptsNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -48,7 +48,7 @@ class MFAUsedBackupCodeNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class MFAUsedBackupCodeNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -82,7 +82,7 @@ class MFAUsedBackupCodeNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -92,7 +92,7 @@ class MFAUsedBackupCodeNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -102,7 +102,7 @@ class MFAUsedBackupCodeNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -48,7 +48,7 @@ class NewBackupCodesNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class NewBackupCodesNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -82,7 +82,7 @@ class NewBackupCodesNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -92,7 +92,7 @@ class NewBackupCodesNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -102,7 +102,7 @@ class NewBackupCodesNotification extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -54,7 +54,7 @@ class UserFailedLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -79,7 +79,7 @@ class UserFailedLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -89,7 +89,7 @@ class UserFailedLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -99,7 +99,7 @@ class UserFailedLoginAttempt extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -44,7 +44,7 @@ class OwnerTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -53,7 +53,7 @@ class OwnerTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(OwnerNotifiable $notifiable)
{
@@ -66,7 +66,7 @@ class OwnerTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -48,7 +48,7 @@ class OwnerTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*
* @param mixed $notifiable
*/
@@ -59,7 +59,7 @@ class OwnerTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(OwnerNotifiable $notifiable): Message
{
@@ -74,7 +74,7 @@ class OwnerTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -48,7 +48,7 @@ class OwnerTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -57,7 +57,7 @@ class OwnerTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(OwnerNotifiable $notifiable): PushoverMessage
{
@@ -69,7 +69,7 @@ class OwnerTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -46,7 +46,7 @@ class OwnerTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(OwnerNotifiable $notifiable)
{
@@ -55,7 +55,7 @@ class OwnerTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(OwnerNotifiable $notifiable)
{
@@ -64,7 +64,7 @@ class OwnerTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(OwnerNotifiable $notifiable)
{

View File

@@ -44,7 +44,7 @@ class UserTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -63,7 +63,7 @@ class UserTestNotificationEmail extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -48,7 +48,7 @@ class UserTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class UserTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toNtfy(User $user): Message
{
@@ -72,7 +72,7 @@ class UserTestNotificationNtfy extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $user)
{

View File

@@ -48,7 +48,7 @@ class UserTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -57,7 +57,7 @@ class UserTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -69,7 +69,7 @@ class UserTestNotificationPushover extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -46,7 +46,7 @@ class UserTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $user)
{
@@ -55,7 +55,7 @@ class UserTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $user)
{
@@ -64,7 +64,7 @@ class UserTestNotificationSlack extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $user)
{

View File

@@ -54,7 +54,7 @@ class BillReminder extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -63,7 +63,7 @@ class BillReminder extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -95,7 +95,7 @@ class BillReminder extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -105,7 +105,7 @@ class BillReminder extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -122,7 +122,7 @@ class BillReminder extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -52,7 +52,7 @@ class NewAccessToken extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -79,7 +79,7 @@ class NewAccessToken extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -89,7 +89,7 @@ class NewAccessToken extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -97,7 +97,7 @@ class NewAccessToken extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -57,7 +57,7 @@ class RuleActionFailed extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -76,7 +76,7 @@ class RuleActionFailed extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -84,7 +84,7 @@ class RuleActionFailed extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -101,7 +101,7 @@ class RuleActionFailed extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -44,7 +44,7 @@ class TransactionCreation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -53,7 +53,7 @@ class TransactionCreation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -64,7 +64,7 @@ class TransactionCreation extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -50,7 +50,7 @@ class UserLogin extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -79,7 +79,7 @@ class UserLogin extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -92,7 +92,7 @@ class UserLogin extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{
@@ -103,7 +103,7 @@ class UserLogin extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{

View File

@@ -51,7 +51,7 @@ class UserNewPassword extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -60,7 +60,7 @@ class UserNewPassword extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -86,7 +86,7 @@ class UserNewPassword extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toPushover(User $notifiable): PushoverMessage
{
@@ -94,7 +94,7 @@ class UserNewPassword extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toSlack(User $notifiable)
{

View File

@@ -39,7 +39,7 @@ class UserRegistration extends Notification
public function __construct() {}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
{
@@ -48,7 +48,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
{
@@ -59,7 +59,7 @@ class UserRegistration extends Notification
}
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
{