@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Generator; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Generator; |
| 5 | 5 | |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | $methods = $reflection->getMethods(); |
| 25 | 25 | $methodsArray = []; |
| 26 | 26 | foreach ($methods as $method) { |
| 27 | - if (!in_array($method->getName(), self::UNSAFE_METHODS, true)) { |
|
| 27 | + if ( ! in_array($method->getName(), self::UNSAFE_METHODS, true)) { |
|
| 28 | 28 | $methodsArray[] = ProxyMethodGenerator::generateMethodString($method); |
| 29 | 29 | } |
| 30 | 30 | } |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Generator; |
| 5 | 5 | |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | $static = $method->isStatic() ? 'static' : ''; |
| 19 | 19 | $originalReturnType = $method->getReturnType(); |
| 20 | 20 | |
| 21 | - $returnType = !$originalReturnType ? '' : ProxyReturnGenerator::generateMethodReturnType($originalReturnType, $method); |
|
| 21 | + $returnType = ! $originalReturnType ? '' : ProxyReturnGenerator::generateMethodReturnType($originalReturnType, $method); |
|
| 22 | 22 | |
| 23 | 23 | $parameters = $method->getParameters(); |
| 24 | 24 | $arguments = []; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Generator; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Generator; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Generator; |
| 5 | 5 | |