@@ -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 | } |