@@ -157,7 +157,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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); |