Fix a bunch of phpstan issues.

This commit is contained in:
James Cole
2023-11-28 18:57:10 +01:00
parent b0a39c00ba
commit 1c3cb85a46
31 changed files with 197 additions and 137 deletions

View File

@@ -56,6 +56,7 @@ class VersionCheckResult extends Notification
* @param mixed $notifiable
*
* @return array
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function toArray($notifiable)
{
@@ -70,6 +71,7 @@ class VersionCheckResult extends Notification
* @param mixed $notifiable
*
* @return MailMessage
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function toMail($notifiable)
{
@@ -84,6 +86,7 @@ class VersionCheckResult extends Notification
* @param mixed $notifiable
*
* @return SlackMessage
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function toSlack($notifiable)
{
@@ -99,6 +102,7 @@ class VersionCheckResult extends Notification
* @param mixed $notifiable
*
* @return array
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function via($notifiable)
{