Completed
Push — master ( 051415...d021c6 )
by Sebastian
05:18
created
app/Services/Mailers/MemberMailerEventHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     {
16 16
         $this->sendTo(
17 17
             $event->user->email,
18
-            'Welkom bij ' . config('app.url'),
18
+            'Welkom bij '.config('app.url'),
19 19
             'emails.auth.front.welcome',
20 20
             ['userId' => $event->user->id]
21 21
         );
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function whenUserWasCreatedThroughBack(UserWasCreatedThroughBack $event)
25 25
     {
26
-        Password::broker('front')->sendResetLink(['email' => $event->user->email], function (Message $message) {
27
-            $message->subject('Welkom bij ' . config('app.url'));
26
+        Password::broker('front')->sendResetLink(['email' => $event->user->email], function(Message $message) {
27
+            $message->subject('Welkom bij '.config('app.url'));
28 28
         });
29 29
     }
30 30
 
Please login to merge, or discard this patch.
app/Services/Mailers/AdminMailerEventHandler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,17 +13,17 @@  discard block
 block discarded – undo
13 13
     
14 14
     public function whenUserWasCreated(UserWasCreated $event)
15 15
     {
16
-        Password::broker('back')->sendResetLink(['email' => $event->user->email], function (Message $message) {
16
+        Password::broker('back')->sendResetLink(['email' => $event->user->email], function(Message $message) {
17 17
             $message->subject(fragment('passwords.subjectEmailNewUser'));
18 18
         });
19 19
     }
20 20
 
21 21
     public function whenContactFormWasSubmitted(ContactFormWasSubmitted $event)
22 22
     {
23
-        collect(config('mail.questionFormRecipients'))->each(function (string $email) use ($event) {
23
+        collect(config('mail.questionFormRecipients'))->each(function(string $email) use ($event) {
24 24
             $this->sendMail(
25 25
                 $email,
26
-                'Een nieuwe reactie op ' . config('app.url'),
26
+                'Een nieuwe reactie op '.config('app.url'),
27 27
                 'emails.admin.contactFormSubmitted',
28 28
                 $event->formResponse->toArray()
29 29
             );
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function whenUserWasActivated(UserWasActivated $event)
34 34
     {
35
-        collect([])->each(function (string $email) use ($event) {
35
+        collect([])->each(function(string $email) use ($event) {
36 36
             $this->sendMail(
37 37
                 $email,
38 38
                 'Een nieuwe gebruiker heeft zich geregistreerd',
Please login to merge, or discard this patch.
app/Services/Mailers/SendsMails.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
      */
16 16
     public function sendMail($emails, string $subject, string $view, $data = [])
17 17
     {
18
-        collect($emails)->each(function (string $email) use ($subject, $view, $data) {
19
-            app(Mailer::class)->queue($view, $data, function (Message $message) use ($email, $subject) {
18
+        collect($emails)->each(function(string $email) use ($subject, $view, $data) {
19
+            app(Mailer::class)->queue($view, $data, function(Message $message) use ($email, $subject) {
20 20
                 $message->to($email)->subject($subject);
21 21
             });
22 22
         });
Please login to merge, or discard this patch.
app/Services/Mailers/ContactFormMailerEventHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 block discarded – undo
13 13
 
14 14
     public function whenContactFormWasSubmitted(ContactFormWasSubmitted $event)
15 15
     {
16
-        collect(config('mail.questionFormRecipients'))->each(function (string $email) use ($event) {
16
+        collect(config('mail.questionFormRecipients'))->each(function(string $email) use ($event) {
17 17
             $this->sendMail(
18 18
                 $email,
19
-                'Een nieuwe reactie op ' . config('app.url'),
19
+                'Een nieuwe reactie op '.config('app.url'),
20 20
                 'emails.contactFormSubmitted',
21 21
                 $event->formResponse->toArray()
22 22
             );
Please login to merge, or discard this patch.
app/Services/Events/HandlesEvents.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@
 block discarded – undo
11 11
 
12 12
     public function subscribe(Dispatcher $dispatcher)
13 13
     {
14
-        collect($this->events)->each(function (string $event) use ($dispatcher) {
14
+        collect($this->events)->each(function(string $event) use ($dispatcher) {
15 15
             $dispatcher->listen(
16 16
                 $event,
17
-                static::class . '@' . (new ReflectionClass($event))->getShortName()
17
+                static::class.'@'.(new ReflectionClass($event))->getShortName()
18 18
             );
19 19
         });
20 20
     }
Please login to merge, or discard this patch.