@@ -49,11 +49,11 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | private static function assertValidImplementation(string $interface, string $implementation): void |
| 51 | 51 | { |
| 52 | - if (! isset(static::$candidates[$interface])) { |
|
| 52 | + if (!isset(static::$candidates[$interface])) { |
|
| 53 | 53 | throw new InvalidArgumentException("$interface is not a supported factory"); |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - if (! is_subclass_of($implementation, $interface, true)) { |
|
| 56 | + if (!is_subclass_of($implementation, $interface, true)) { |
|
| 57 | 57 | throw new InvalidArgumentException("$implementation does not implement $interface"); |
| 58 | 58 | } |
| 59 | 59 | } |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | |
| 13 | 13 | protected static function makeInstance(string $interface) |
| 14 | 14 | { |
| 15 | - if (! isset(self::$cache[$interface])) { |
|
| 15 | + if (!isset(self::$cache[$interface])) { |
|
| 16 | 16 | $implementation = static::locate($interface); |
| 17 | 17 | self::$cache[$interface] = new $implementation(); |
| 18 | 18 | } |