@@ -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 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Moka\Factory; |
| 5 | 5 | |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | public static function get(MockingStrategyInterface $mockingStrategy): ProxyGenerator |
| 21 | 21 | { |
| 22 | 22 | $key = self::key($mockingStrategy); |
| 23 | - if (!array_key_exists($key, self::$proxyGenerators) || !self::$proxyGenerators[$key] instanceof ProxyGenerator) { |
|
| 23 | + if ( ! array_key_exists($key, self::$proxyGenerators) || ! self::$proxyGenerators[$key] instanceof ProxyGenerator) { |
|
| 24 | 24 | self::$proxyGenerators[$key] = static::build($mockingStrategy); |
| 25 | 25 | } |
| 26 | 26 | |
@@ -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 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | $methodsArray = []; |
| 30 | 30 | |
| 31 | 31 | foreach ($methods as $method) { |
| 32 | - if (!$method->isFinal() && !in_array($method->getName(), self::UNSAFE_METHODS, true)) { |
|
| 32 | + if ( ! $method->isFinal() && ! in_array($method->getName(), self::UNSAFE_METHODS, true)) { |
|
| 33 | 33 | $methodsArray[] = ProxyMethodGenerator::generateMethodString($method); |
| 34 | 34 | } |
| 35 | 35 | |