Completed
Push — master ( bab605...567ed5 )
by Sebastian
04:30
created
app/Services/Mailers/MemberMailer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Services\Mailers;
4 4
 
5
-use App\Events\UserWasActivated;
6 5
 use App\Services\Auth\Front\Events\UserWasCreatedThroughBack;
7 6
 use App\Services\Auth\Front\Events\UserWasRegistered;
8 7
 use Illuminate\Contracts\Events\Dispatcher;
Please login to merge, or discard this patch.
app/Providers/CollectionServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,23 +15,23 @@
 block discarded – undo
15 15
      */
16 16
     public function register()
17 17
     {
18
-        Collection::macro('pipe', function ($callback) {
18
+        Collection::macro('pipe', function($callback) {
19 19
             return $callback($this);
20 20
         });
21 21
 
22
-        Collection::macro('dump', function () {
22
+        Collection::macro('dump', function() {
23 23
             dd($this);
24 24
         });
25 25
 
26
-        Collection::macro('ifEmpty', function ($callback) {
26
+        Collection::macro('ifEmpty', function($callback) {
27 27
             if ($this->empty()) {
28 28
                 $callback();
29 29
             }
30 30
             return $this;
31 31
         });
32 32
 
33
-        Collection::macro('ifAny', function ($callback) {
34
-            if (! $this->empty()) {
33
+        Collection::macro('ifAny', function($callback) {
34
+            if (!$this->empty()) {
35 35
                 $callback($this);
36 36
             }
37 37
             return $this;
Please login to merge, or discard this patch.
app/Services/Mailers/AdminMailer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,17 +13,17 @@
 block discarded – undo
13 13
 
14 14
     public function userWasCreated(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 contactFormWasSubmitted(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
             );
Please login to merge, or discard this patch.