Passed
Push — master ( 1a5091...509fe7 )
by Woody
01:46
created
src/HttpFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
     private static function factoryInstance(string $factoryInterface)
51 51
     {
52
-        if (! isset(self::$factories[$factoryInterface])) {
52
+        if (!isset(self::$factories[$factoryInterface])) {
53 53
             $factory = FactoryLocator::locate($factoryInterface);
54 54
             self::$factories[$factoryInterface] = new $factory();
55 55
         }
Please login to merge, or discard this patch.
src/FactoryLocator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,11 +73,11 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public static function register(string $factoryInterface, string $factoryImplementation): void
75 75
     {
76
-        if (! isset(self::$candidates[$factoryInterface])) {
76
+        if (!isset(self::$candidates[$factoryInterface])) {
77 77
             throw new InvalidArgumentException("$factoryInterface is not a supported factory");
78 78
         }
79 79
 
80
-        if (! is_a($factoryImplementation, $factoryInterface, true)) {
80
+        if (!is_a($factoryImplementation, $factoryInterface, true)) {
81 81
             throw new InvalidArgumentException("$factoryImplementation does not implement $factoryInterface");
82 82
         }
83 83
 
@@ -89,11 +89,11 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public static function unregister(string $factoryInterface, string $factoryImplementation): void
91 91
     {
92
-        if (! isset(self::$candidates[$factoryInterface])) {
92
+        if (!isset(self::$candidates[$factoryInterface])) {
93 93
             throw new InvalidArgumentException("$factoryInterface is not a supported factory");
94 94
         }
95 95
 
96
-        if (! is_a($factoryImplementation, $factoryInterface, true)) {
96
+        if (!is_a($factoryImplementation, $factoryInterface, true)) {
97 97
             throw new InvalidArgumentException("$factoryImplementation does not implement $factoryInterface");
98 98
         }
99 99
 
Please login to merge, or discard this patch.