Passed
Push — master ( f218e6...f51c1b )
by Arthur
04:59
created
config/ide-helper.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,8 +173,8 @@
 block discarded – undo
173 173
     | Cast the given "real type" to the given "type".
174 174
     |
175 175
     */
176
-   'type_overrides' => [
176
+    'type_overrides' => [
177 177
         'integer' => 'int',
178 178
         'boolean' => 'bool',
179
-   ],
179
+    ],
180 180
 ];
Please login to merge, or discard this patch.
src/Foundation/Kernels/HttpKernel.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
     protected $middlewareGroups = [
31 31
         'web' => [
32 32
             \Foundation\Middleware\EncryptCookies::class,
33
-             \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
34
-             \Illuminate\Session\Middleware\StartSession::class,
35
-             \Illuminate\View\Middleware\ShareErrorsFromSession::class,
36
-             \Foundation\Middleware\VerifyCsrfToken::class,
33
+                \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
34
+                \Illuminate\Session\Middleware\StartSession::class,
35
+                \Illuminate\View\Middleware\ShareErrorsFromSession::class,
36
+                \Foundation\Middleware\VerifyCsrfToken::class,
37 37
             \Illuminate\Routing\Middleware\SubstituteBindings::class,
38 38
         ],
39 39
 
Please login to merge, or discard this patch.
src/Modules/Notification/Services/NotificationService.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,13 +30,15 @@
 block discarded – undo
30 30
 
31 31
     public function find($id): ?Notification
32 32
     {
33
-        if ($id instanceof Notification)
34
-            return $id;
33
+        if ($id instanceof Notification) {
34
+                    return $id;
35
+        }
35 36
 
36 37
         $notification = Notification::find($id);
37 38
 
38
-        if ($notification === null)
39
-            throw new NotFoundHttpException();
39
+        if ($notification === null) {
40
+                    throw new NotFoundHttpException();
41
+        }
40 42
 
41 43
         return $notification;
42 44
     }
Please login to merge, or discard this patch.
src/Modules/User/Services/UserService.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,13 +22,15 @@
 block discarded – undo
22 22
 
23 23
     public function find($id): ?User
24 24
     {
25
-        if ($id instanceof User)
26
-            return $id;
25
+        if ($id instanceof User) {
26
+                    return $id;
27
+        }
27 28
 
28 29
         $user = User::find($id);
29 30
 
30
-        if ($user === null)
31
-            throw new NotFoundHttpException();
31
+        if ($user === null) {
32
+                    throw new NotFoundHttpException();
33
+        }
32 34
 
33 35
         return $user;
34 36
     }
Please login to merge, or discard this patch.
src/Foundation/Console/DemoSeedCommand.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,9 @@
 block discarded – undo
63 63
             foreach ($seeders as $seeder) {
64 64
                 $seeder = $this->laravel->make($seeder);
65 65
                 $seeder->__invoke();
66
-                if (class_implements_interface($seeder, DemoSeederContract::class))
67
-                    $seeder->runDemo();
66
+                if (class_implements_interface($seeder, DemoSeederContract::class)) {
67
+                                    $seeder->runDemo();
68
+                }
68 69
             }
69 70
         });
70 71
 
Please login to merge, or discard this patch.