From 1b4f2657ba8dd9b76b609459caca832eea6c5328 Mon Sep 17 00:00:00 2001 From: AriaieBOY Date: Fri, 9 Jul 2021 18:43:35 +0430 Subject: [PATCH] update doc block for static analyzer fix if you use static analyzers like larastan with kavenegar you will give an error live this ```php Method App\Notifications\VerifySMSNotification::toKavenegar() should return Illuminate\Notifications\Messages\MailMessage but returns Kavenegar\Laravel\Message\KavenegarMessage. ``` --- src/Notification/KavenegarBaseNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notification/KavenegarBaseNotification.php b/src/Notification/KavenegarBaseNotification.php index 38267c0..cb85230 100644 --- a/src/Notification/KavenegarBaseNotification.php +++ b/src/Notification/KavenegarBaseNotification.php @@ -27,7 +27,7 @@ public function via($notifiable) * Get the mail representation of the notification. * * @param mixed $notifiable - * @return \Illuminate\Notifications\Messages\MailMessage + * @return \Kavenegar\Laravel\Message\KavenegarMessage */ public function toKavenegar($notifiable) {