Completed
Pull Request — master (#27)
by Karl
05:54
created
app/Notifications/PremiumUserSignup.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Create a new notification instance.
16 16
      *
17
-     * @param Token $token
18 17
      *
18
+     * @param string $data
19 19
      * @return void
20 20
      */
21 21
     public function __construct($data)
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      * Get the notification's delivery channels.
28 28
      *
29 29
      * @param  mixed  $notifiable
30
-     * @return array
30
+     * @return string[]
31 31
      */
32 32
     public function via($notifiable)
33 33
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php namespace JobApis\JobsToMail\Notifications;
2 2
 
3 3
 use Illuminate\Bus\Queueable;
4
-use Illuminate\Notifications\Notification;
5 4
 use Illuminate\Contracts\Queue\ShouldQueue;
6 5
 use Illuminate\Notifications\Messages\MailMessage;
6
+use Illuminate\Notifications\Notification;
7 7
 use JobApis\JobsToMail\Models\Token;
8 8
 
9 9
 class TokenGenerated extends Notification implements ShouldQueue
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function via($notifiable)
33 33
     {
34
-        return ['mail'];
34
+        return [ 'mail' ];
35 35
     }
36 36
 
37 37
     /**
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             ->line('A new user is interested in JobsToMail premium: ');
48 48
 
49 49
         foreach ($this->data as $key => $value) {
50
-            $message->line($key . ': ' . $value);
50
+            $message->line($key.': '.$value);
51 51
         }
52 52
 
53 53
         return $message;
Please login to merge, or discard this patch.
app/Http/Requests/PremiumUser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function messages()
23 23
     {
24
-        return [];
24
+        return [ ];
25 25
     }
26 26
 
27 27
     /**
Please login to merge, or discard this patch.
app/Jobs/Users/PremiumUserSignup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
     /**
20 20
      * Create a new job instance.
21 21
      */
22
-    public function __construct($data = [])
22
+    public function __construct($data = [ ])
23 23
     {
24 24
         $this->data = $data;
25 25
         $this->admin = new User(
26
-            ['email' => env('ADMIN_EMAIL', '[email protected]')]
26
+            [ 'email' => env('ADMIN_EMAIL', '[email protected]') ]
27 27
         );
28 28
     }
29 29
 
Please login to merge, or discard this patch.