Completed
Push — master ( 8a4f85...f304b0 )
by Sherif
02:40
created
src/Modules/Notifications/Notifications/ConfirmEmail.php 4 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * Get the notification's delivery channels.
29 29
      *
30 30
      * @param  mixed  $notifiable
31
-     * @return array
31
+     * @return string[]
32 32
      */
33 33
     public function via($notifiable)
34 34
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Illuminate\Notifications\Notification;
7 7
 use Illuminate\Contracts\Queue\ShouldQueue;
8 8
 use Illuminate\Notifications\Messages\MailMessage;
9
-use Illuminate\Notifications\Messages\BroadcastMessage;
10 9
 
11 10
 class ConfirmEmail extends Notification implements ShouldQueue
12 11
 {
Please login to merge, or discard this patch.
Indentation   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -10,41 +10,41 @@
 block discarded – undo
10 10
 
11 11
 class ConfirmEmail extends Notification implements ShouldQueue
12 12
 {
13
-    use Queueable;
13
+	use Queueable;
14 14
 
15
-    /**
16
-     * Create a new notification instance.
17
-     *
18
-     * @return void
19
-     */
20
-    public function __construct()
21
-    {
22
-        //
23
-    }
15
+	/**
16
+	 * Create a new notification instance.
17
+	 *
18
+	 * @return void
19
+	 */
20
+	public function __construct()
21
+	{
22
+		//
23
+	}
24 24
 
25
-    /**
26
-     * Get the notification's delivery channels.
27
-     *
28
-     * @param  mixed  $notifiable
29
-     * @return array
30
-     */
31
-    public function via($notifiable)
32
-    {
33
-        return ['mail'];
34
-    }
25
+	/**
26
+	 * Get the notification's delivery channels.
27
+	 *
28
+	 * @param  mixed  $notifiable
29
+	 * @return array
30
+	 */
31
+	public function via($notifiable)
32
+	{
33
+		return ['mail'];
34
+	}
35 35
 
36
-    /**
37
-     * Get the mail representation of the notification.
38
-     *
39
-     * @param  mixed  $notifiable
40
-     * @return \Illuminate\Notifications\Messages\MailMessage
41
-     */
42
-    public function toMail($notifiable)
43
-    {
44
-        return (new MailMessage)
45
-            ->subject('Email verification')
46
-            ->line('Email verification')
47
-            ->line('To validate your email click on the button below')
48
-            ->action('Verify your email', config('confrim_email_url') . '/' . $notifiable->confirmation_code);
49
-    }
36
+	/**
37
+	 * Get the mail representation of the notification.
38
+	 *
39
+	 * @param  mixed  $notifiable
40
+	 * @return \Illuminate\Notifications\Messages\MailMessage
41
+	 */
42
+	public function toMail($notifiable)
43
+	{
44
+		return (new MailMessage)
45
+			->subject('Email verification')
46
+			->line('Email verification')
47
+			->line('To validate your email click on the button below')
48
+			->action('Verify your email', config('confrim_email_url') . '/' . $notifiable->confirmation_code);
49
+	}
50 50
 }
51 51
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
             ->subject('Email verification')
46 46
             ->line('Email verification')
47 47
             ->line('To validate your email click on the button below')
48
-            ->action('Verify your email', config('confrim_email_url') . '/' . $notifiable->confirmation_code);
48
+            ->action('Verify your email', config('confrim_email_url').'/'.$notifiable->confirmation_code);
49 49
     }
50 50
 }
51 51
\ No newline at end of file
Please login to merge, or discard this patch.