@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | private function createCode(Api\Api $api, $name, \ReflectionMethod $method): \Closure |
123 | 123 | { |
124 | - return function (InputInterface $input, OutputInterface $output) use ($name, $method, $api) { |
|
124 | + return function(InputInterface $input, OutputInterface $output) use ($name, $method, $api) { |
|
125 | 125 | $fn = $method->getClosure($api); |
126 | 126 | |
127 | 127 | $options = CaseFormatter::dashToCamelArray($input->getOptions()); |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | public static function dashToCamelArray(array $values): array |
51 | 51 | { |
52 | - return array_combine(array_map(function ($name) { |
|
52 | + return array_combine(array_map(function($name) { |
|
53 | 53 | return self::dashToCamel($name); |
54 | 54 | }, array_keys($values)), array_values($values)); |
55 | 55 | } |