@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | continue; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - $arguments = array_map(function (\ReflectionParameter $parameter) { |
|
| 51 | + $arguments = array_map(function(\ReflectionParameter $parameter) { |
|
| 52 | 52 | return $this->getTypeStub($parameter->getType()); |
| 53 | 53 | }, $method->getParameters()); |
| 54 | 54 | |
@@ -78,11 +78,11 @@ discard block |
||
| 78 | 78 | case 'Throwable': |
| 79 | 79 | return new \Exception(); |
| 80 | 80 | case 'callable': |
| 81 | - return function () {}; |
|
| 81 | + return function() {}; |
|
| 82 | 82 | case 'array': |
| 83 | 83 | return array_fill(0, 2, uniqid('', true)); |
| 84 | 84 | default: |
| 85 | - throw new \UnexpectedValueException('Unknow type. '.$type->getName()); |
|
| 85 | + throw new \UnexpectedValueException('Unknow type. ' . $type->getName()); |
|
| 86 | 86 | } |
| 87 | 87 | } |
| 88 | 88 | } |