@@ -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; |
| 5 | 5 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public static function brew(string $fqcn, string $alias = null, MockingStrategyInterface $mockingStrategy = null): Proxy |
| 43 | 43 | { |
| 44 | - if (!$mockingStrategy instanceof MockingStrategyInterface) { |
|
| 44 | + if ( ! $mockingStrategy instanceof MockingStrategyInterface) { |
|
| 45 | 45 | $defaultMockingStrategy = static::MOCKING_STRATEGY_DEFAULT; |
| 46 | 46 | $mockingStrategy = new $defaultMockingStrategy(); |
| 47 | 47 | } |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | */ |
| 59 | 59 | public static function __callStatic($name, $arguments) |
| 60 | 60 | { |
| 61 | - if (!isset(static::MOCKING_STRATEGIES[$name])) { |
|
| 61 | + if ( ! isset(static::MOCKING_STRATEGIES[$name])) { |
|
| 62 | 62 | throw new NotImplementedException( |
| 63 | 63 | sprintf( |
| 64 | 64 | 'Mocking strategy "%s" does not exist', |