Completed
Push — master ( 9f33f4...b7f3a4 )
by Woody
23s
created
src/FactoryLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,11 +90,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.