refactoring: folowing phpinsights recomendations

This commit is contained in:
Anatoliy Poloz
2023-12-28 17:07:09 +03:00
parent 0efb8536dd
commit 9b2d703374
23 changed files with 244 additions and 170 deletions

View File

@@ -28,6 +28,7 @@ class DietStarted extends Notification implements ShouldQueue
* Get the notification's delivery channels.
*
* @param mixed $notifiable
*
* @return array
*/
public function via($notifiable)
@@ -39,6 +40,7 @@ class DietStarted extends Notification implements ShouldQueue
* Get the mail representation of the notification.
*
* @param mixed $notifiable
*
* @return \Illuminate\Notifications\Messages\MailMessage
*/
public function toMail($notifiable)
@@ -53,6 +55,7 @@ class DietStarted extends Notification implements ShouldQueue
* Get the array representation of the notification.
*
* @param mixed $notifiable
*
* @return array
*/
public function toArray($notifiable)