@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | continue; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | - $arguments = \array_map(function (\ReflectionParameter $parameter) { |
|
| 55 | + $arguments = \array_map(function(\ReflectionParameter $parameter) { |
|
| 56 | 56 | return $this->getTypeStub($parameter->getType()); |
| 57 | 57 | }, $method->getParameters()); |
| 58 | 58 | |
@@ -82,11 +82,11 @@ discard block |
||
| 82 | 82 | case 'Throwable': |
| 83 | 83 | return new \Exception(); |
| 84 | 84 | case 'callable': |
| 85 | - return function () {}; |
|
| 85 | + return function() {}; |
|
| 86 | 86 | case 'array': |
| 87 | 87 | return \array_fill(0, 2, \uniqid('', true)); |
| 88 | 88 | default: |
| 89 | - throw new \UnexpectedValueException('Unknown type. '.$type->getName()); |
|
| 89 | + throw new \UnexpectedValueException('Unknown type. ' . $type->getName()); |
|
| 90 | 90 | } |
| 91 | 91 | } |
| 92 | 92 | } |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | if (\is_object($controller)) { |
| 36 | 36 | if (\method_exists($controller, '__invoke')) { |
| 37 | - return 'Callback controller: '.\get_class($controller).'::__invoke()'; |
|
| 37 | + return 'Callback controller: ' . \get_class($controller) . '::__invoke()'; |
|
| 38 | 38 | } |
| 39 | 39 | } |
| 40 | 40 | |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | $controller = \implode('::', $controller); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - return 'Callback controller: '.$controller.'()'; |
|
| 50 | + return 'Callback controller: ' . $controller . '()'; |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | return $controller; |