Completed
Push — master ( a6cc58...1b8eb5 )
by Martijn
26s
created
SwaggerGen/SwaggerGen.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                         if ($result !== $top) {
158 158
                             // Remove all similar classes from array first!
159 159
                             $classname = get_class($result);
160
-                            $stack = array_filter($stack, static function ($class) use ($classname) {
160
+                            $stack = array_filter($stack, static function($class) use ($classname) {
161 161
                                 return !(is_a($class, $classname));
162 162
                             });
163 163
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
                 $stacktrace = [];
178 178
                 foreach ($stack as $object) {
179
-                    $stacktrace[] = (string)$object;
179
+                    $stacktrace[] = (string) $object;
180 180
                 }
181 181
                 $messages[] = implode(', ' . PHP_EOL, $stacktrace);
182 182
 
@@ -237,9 +237,9 @@  discard block
 block discarded – undo
237 237
                 if (!function_exists('yaml_emit')) {
238 238
                     throw new Exception('YAML extension not installed.');
239 239
                 }
240
-                array_walk_recursive($output, static function (&$value) {
240
+                array_walk_recursive($output, static function(&$value) {
241 241
                     if (is_object($value)) {
242
-                        $value = (array)$value;
242
+                        $value = (array) $value;
243 243
                     }
244 244
                 });
245 245
                 $output = yaml_emit($output, YAML_UTF8_ENCODING, YAML_LN_BREAK);
Please login to merge, or discard this patch.