Completed
Push — master ( f559c4...013adf )
by Sebastian
05:14 queued 01:23
created
app/Foundation/Models/Updaters/UpdatesTags.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     public function updateTagsForType(string $type)
20 20
     {
21
-        collect($this->request->get("{$type}_tags"))->each(function ($name) use ($type) {
21
+        collect($this->request->get("{$type}_tags"))->each(function($name) use ($type) {
22 22
             $type = new TagType($type);
23 23
 
24 24
             $tag = Tag::findByNameOrCreate($name, $type);
Please login to merge, or discard this patch.
app/Foundation/Models/Updaters/UpdatesMedia.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
                 $collection
23 23
             );
24 24
 
25
-            collect($updatedMedia)->each(function (Media $media) {
25
+            collect($updatedMedia)->each(function(Media $media) {
26 26
                 $media->setCustomProperty('temp', false);
27 27
                 $media->save();
28 28
             });
Please login to merge, or discard this patch.
app/Http/Controllers/Back/TagController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     public function index()
17 17
     {
18
-        $tags = Tag::nonDraft()->get()->reduce(function (Collection $carry, Tag $tag) {
18
+        $tags = Tag::nonDraft()->get()->reduce(function(Collection $carry, Tag $tag) {
19 19
 
20 20
             if (!$carry->has($tag->type)) {
21 21
                 $carry->put($tag->type, new Collection());
Please login to merge, or discard this patch.
app/Services/Html/HtmlServiceProvider.php 1 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
     protected function registerHtmlBuilder()
33 33
     {
34
-        $this->app->singleton('html', function ($app) {
34
+        $this->app->singleton('html', function($app) {
35 35
             return new HtmlBuilder($app['url']);
36 36
         });
37 37
     }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected function registerFormBuilder()
43 43
     {
44
-        $this->app->singleton('form', function ($app) {
44
+        $this->app->singleton('form', function($app) {
45 45
             $formBuilder = new FormBuilder($app['html'], $app['url'], $app['session.store']->getToken());
46 46
 
47 47
             $formBuilder->setSessionStore($app['session.store']);
Please login to merge, or discard this patch.
app/Http/Requests/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Get a parameter of the current route.
37 37
      *
38
-     * @param $key
38
+     * @param string $key
39 39
      *
40 40
      * @return object|string
41 41
      */
Please login to merge, or discard this patch.
app/Http/Controllers/Front/AuthController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
         return fragment('auth.failed');
39 39
     }
40 40
 
41
+    /**
42
+     * @param Request $request
43
+     */
41 44
     protected function sendInactiveAccountResponse($request)
42 45
     {
43 46
         return redirect()->back()
Please login to merge, or discard this patch.
app/Http/Routes/front_auth.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-Route::group(['middleware' => 'guest'], function () {
3
+Route::group(['middleware' => 'guest'], function() {
4 4
 
5 5
     Route::get('login', 'AuthController@getLogin');
6 6
     Route::post('login', 'AuthController@postLogin');
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     Route::get('password/reset/{token}', 'PasswordController@getReset');
11 11
     Route::post('password/reset/{token}', 'PasswordController@postReset');
12 12
 
13
-    Route::get('password', function () {
13
+    Route::get('password', function() {
14 14
         return redirect()->action('PasswordController@getEmail');
15 15
     });
16 16
 });
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,14 +21,14 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function map(Router $router)
23 23
     {
24
-        $router->group(['namespace' => $this->namespace], function () {
24
+        $router->group(['namespace' => $this->namespace], function() {
25 25
             require app_path('Http/Routes/routes.php');
26 26
         });
27 27
     }
28 28
 
29 29
     protected function registerMacros(Router $router)
30 30
     {
31
-        $router->macro('module', function ($slug, $className, $sortable = false) use ($router) {
31
+        $router->macro('module', function($slug, $className, $sortable = false) use ($router) {
32 32
             if ($sortable) {
33 33
                 $router->patch("{$slug}/changeOrder", "{$className}Controller@changeOrder");
34 34
             }
@@ -36,15 +36,15 @@  discard block
 block discarded – undo
36 36
             $router->resource($slug, "{$className}Controller");
37 37
         });
38 38
 
39
-        $router->macro('articleList', function ($technicalNamePrefix, $action) use ($router) {
39
+        $router->macro('articleList', function($technicalNamePrefix, $action) use ($router) {
40 40
 
41 41
             $articles = Article::getWithTechnicalNameLike($technicalNamePrefix);
42 42
 
43
-            $router->get(app()->getLocale().'/'.fragment_slug("navigation.{$technicalNamePrefix}"),  function () use ($articles) {
43
+            $router->get(app()->getLocale().'/'.fragment_slug("navigation.{$technicalNamePrefix}"), function() use ($articles) {
44 44
                 return redirect(route("{$articles->first()->technical_name}"));
45 45
             })->name($technicalNamePrefix);
46 46
 
47
-            $articles->map(function ($article) use ($technicalNamePrefix, $action, $router) {
47
+            $articles->map(function($article) use ($technicalNamePrefix, $action, $router) {
48 48
                 $router->get(app()->getLocale().'/'.fragment_slug("navigation.{$technicalNamePrefix}").'/'.$article->url, $action)->name("{$article->technical_name}");
49 49
             });
50 50
         });
Please login to merge, or discard this patch.
app/Services/Mailers/MemberMailer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     public function sendPasswordEmail(User $user)
21 21
     {
22
-        Password::broker('front')->sendResetLink(['email' => $user->email], function (Message $message) {
22
+        Password::broker('front')->sendResetLink(['email' => $user->email], function(Message $message) {
23 23
             $message->subject('Welkom bij '.request()->getHost());
24 24
         });
25 25
     }
Please login to merge, or discard this patch.