Passed
Push — master ( 0a0958...c03ec0 )
by Arthur
08:30 queued 02:43
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/Support/helpers.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -123,8 +123,9 @@  discard block
 block discarded – undo
123 123
 
124 124
         $result = array_intersect($subset, $array);
125 125
 
126
-        if ($strict)
127
-            return $result === $subset;
126
+        if ($strict) {
127
+                    return $result === $subset;
128
+        }
128 129
 
129 130
         return $result == $subset;
130 131
     }
@@ -133,7 +134,9 @@  discard block
 block discarded – undo
133 134
 if (!function_exists('is_associative_array')) {
134 135
     function is_associative_array(array $arr)
135 136
     {
136
-        if (array() === $arr) return false;
137
+        if (array() === $arr) {
138
+            return false;
139
+        }
137 140
         return array_keys($arr) !== range(0, count($arr) - 1);
138 141
     }
139 142
 }
Please login to merge, or discard this patch.
src/Foundation/Abstracts/Tests/HttpTest.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,9 @@
 block discarded – undo
65 65
 
66 66
     protected function decodeHttpContent($content, $unwrap = true)
67 67
     {
68
-        if ($unwrap)
69
-            return json_decode($content, true)['data'];
68
+        if ($unwrap) {
69
+                    return json_decode($content, true)['data'];
70
+        }
70 71
         return json_decode($content, true);
71 72
     }
72 73
 
Please login to merge, or discard this patch.