Completed
Push — master ( 5a4b2b...9dcc41 )
by Woody
02:09
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.
src/DiscoveryCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.