@@ -49,7 +49,7 @@ |
||
| 49 | 49 | |
| 50 | 50 | private static function factoryInstance(string $factoryInterface) |
| 51 | 51 | { |
| 52 | - if (! isset(self::$factories[$factoryInterface])) { |
|
| 52 | + if (!isset(self::$factories[$factoryInterface])) { |
|
| 53 | 53 | $factory = FactoryLocator::locate($factoryInterface); |
| 54 | 54 | self::$factories[$factoryInterface] = new $factory(); |
| 55 | 55 | } |
@@ -90,11 +90,11 @@ |
||
| 90 | 90 | */ |
| 91 | 91 | private static function assertValidFactory(string $factoryInterface, string $factoryImplementation): void |
| 92 | 92 | { |
| 93 | - if (! isset(self::$candidates[$factoryInterface])) { |
|
| 93 | + if (!isset(self::$candidates[$factoryInterface])) { |
|
| 94 | 94 | throw new InvalidArgumentException("$factoryInterface is not a supported factory"); |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - if (! is_subclass_of($factoryImplementation, $factoryInterface, true)) { |
|
| 97 | + if (!is_subclass_of($factoryImplementation, $factoryInterface, true)) { |
|
| 98 | 98 | throw new InvalidArgumentException("$factoryImplementation does not implement $factoryInterface"); |
| 99 | 99 | } |
| 100 | 100 | } |