Passed
Push — master ( 07ff08...756a96 )
by Arthur
05:20
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/Foundation/Providers/BootstrapServiceProvider.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -176,8 +176,9 @@  discard block
 block discarded – undo
176 176
     private function loadServiceProviders()
177 177
     {
178 178
         foreach ($this->bootstrapService->getProviders() as $provider) {
179
-            if ($this->passedRegistrationCondition($provider))
180
-                $this->app->register($provider);
179
+            if ($this->passedRegistrationCondition($provider)) {
180
+                            $this->app->register($provider);
181
+            }
181 182
         }
182 183
     }
183 184
 
@@ -192,8 +193,9 @@  discard block
 block discarded – undo
192 193
 
193 194
     private function passedRegistrationCondition($class)
194 195
     {
195
-        if (!class_implements_interface($class, ConditionalAutoRegistration::class))
196
-            return true;
196
+        if (!class_implements_interface($class, ConditionalAutoRegistration::class)) {
197
+                    return true;
198
+        }
197 199
         return run_class_function($class, 'registrationCondition');
198 200
     }
199 201
 }
Please login to merge, or discard this patch.
src/Foundation/Cache/ModelCacheOOP.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,9 @@
 block discarded – undo
57 57
 
58 58
         if ($modelId === null) {
59 59
             $model = ($this->model)::where($index, $key)->first();
60
-            if ($model !== null)
61
-                $this->store($model);
60
+            if ($model !== null) {
61
+                            $this->store($model);
62
+            }
62 63
             return $model;
63 64
         }
64 65
 
Please login to merge, or discard this patch.