Passed
Push — master ( 9dcc41...e347b7 )
by Woody
02:12
created
src/DiscoveryLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.