Completed
Push — master ( dc5407...01d792 )
by Sebastian
14:01
created
app/Services/Mailers/MemberMailer.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/ContactFormMailer.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/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.
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('dd', function () {
22
+        Collection::macro('dd', 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/Navigation/Menu/FrontMenus.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,18 +8,18 @@
 block discarded – undo
8 8
 {
9 9
     public function register()
10 10
     {
11
-        Menu::macro('front', function () {
11
+        Menu::macro('front', function() {
12 12
             return Menu::new()->setActiveFromRequest(locale());
13 13
         });
14 14
 
15
-        Menu::macro('main', function () {
15
+        Menu::macro('main', function() {
16 16
             return Menu::front()
17 17
                 ->addClass('nav navbar-nav')
18 18
                 ->url('/', 'Home');
19 19
         });
20 20
 
21
-        Menu::macro('language', function () {
22
-            return locales()->reduce(function (Menu $menu, string $locale) {
21
+        Menu::macro('language', function() {
22
+            return locales()->reduce(function(Menu $menu, string $locale) {
23 23
                 $menu->url($locale, $locale);
24 24
             }, Menu::front());
25 25
         });
Please login to merge, or discard this patch.
app/Services/Navigation/Menu/BackMenus.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,26 +10,26 @@  discard block
 block discarded – undo
10 10
 {
11 11
     public function register()
12 12
     {
13
-        Menu::macro('back', function () {
13
+        Menu::macro('back', function() {
14 14
             return Menu::new()
15 15
                 ->setActiveClass('-active')
16 16
                 ->setActiveFromRequest('/blender');
17 17
         });
18 18
 
19
-        Menu::macro('moduleGroup', function ($title) {
19
+        Menu::macro('moduleGroup', function($title) {
20 20
             return Menu::back()
21 21
                 ->addParentClass('menu_group')
22 22
                 ->setParentAttribute('data-menu-group', fragment("back.nav.{$title}"))
23
-                ->registerFilter(function (Link $link) {
23
+                ->registerFilter(function(Link $link) {
24 24
                     $link->addParentClass('menu_group_item');
25 25
                 });
26 26
         });
27 27
 
28
-        Menu::macro('module', function (string $action, string $name) {
28
+        Menu::macro('module', function(string $action, string $name) {
29 29
             return $this->action("Back\\{$action}", fragment("back.{$name}"));
30 30
         });
31 31
 
32
-        Menu::macro('backMain', function () {
32
+        Menu::macro('backMain', function() {
33 33
             return Menu::back()
34 34
                 ->addClass('menu_groups')
35 35
                 ->setAttribute('data-menu-groups')
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 );
54 54
         });
55 55
 
56
-        Menu::macro('backUser', function () {
56
+        Menu::macro('backUser', function() {
57 57
 
58 58
             $avatar = HTML::avatar(current_user(), '-small').
59 59
                 el('span.:response-desktop-only', current_user()->email);
Please login to merge, or discard this patch.
app/Services/Html/HtmlBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         }
48 48
 
49 49
         return el('div.alert.-info', ['class' => $classes],
50
-            el('span.fa.fa-info-circle') . ' ' . $message
50
+            el('span.fa.fa-info-circle').' '.$message
51 51
         );
52 52
     }
53 53
 
Please login to merge, or discard this patch.