Passed
Push — master ( cc89dc...d9bf1f )
by Jesse
02:33 queued 15s
created
src/Instruction/Relation/Relationship.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
         assert(isset($this->decisionKey));
152 152
         return OneOfTheseHydrators::decideBasedOnThe(
153 153
             $this->decisionKey,
154
-            array_map(function (RepresentsChoice $choice): Hydrates {
154
+            array_map(function(RepresentsChoice $choice): Hydrates {
155 155
                 return $choice->finish();
156 156
             }, $this->choices)
157 157
         );
Please login to merge, or discard this patch.
src/Mapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         if (isset($this->decisionKey)) {
82 82
             return OneOfTheseHydrators::decideBasedOnThe(
83 83
                 $this->decisionKey,
84
-                array_map(function (RepresentsChoice $choice): Hydrates {
84
+                array_map(function(RepresentsChoice $choice): Hydrates {
85 85
                     return $choice->finish();
86 86
                 }, $this->choices)
87 87
             );
Please login to merge, or discard this patch.
src/Instruction/Is.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -97,32 +97,32 @@  discard block
 block discarded – undo
97 97
     public static function number(): DefinesTheType
98 98
     {
99 99
         return Is::decoratedType(FloatValue::class, self::SAME_KEY, [
100
-            CanBeInteger::class . '::or',
100
+            CanBeInteger::class.'::or',
101 101
         ]);
102 102
     }
103 103
 
104 104
     public static function numberInKey(string $key): DefinesTheType
105 105
     {
106 106
         return Is::decoratedType(FloatValue::class, self::USE_KEY, [
107
-            CanBeInteger::class . '::or',
107
+            CanBeInteger::class.'::or',
108 108
         ], $key);
109 109
     }
110 110
 
111 111
     public static function mixed(): DefinesTheType
112 112
     {
113 113
         return Is::decoratedType(StringValue::class, self::SAME_KEY, [
114
-            CanBeFloat::class . '::or',
115
-            CanBeInteger::class . '::or',
116
-            CanBeNull::class . '::or',
114
+            CanBeFloat::class.'::or',
115
+            CanBeInteger::class.'::or',
116
+            CanBeNull::class.'::or',
117 117
         ]);
118 118
     }
119 119
 
120 120
     public static function mixedInKey(string $key): DefinesTheType
121 121
     {
122 122
         return Is::decoratedType(StringValue::class, self::USE_KEY, [
123
-            CanBeFloat::class . '::or',
124
-            CanBeInteger::class . '::or',
125
-            CanBeNull::class . '::or',
123
+            CanBeFloat::class.'::or',
124
+            CanBeInteger::class.'::or',
125
+            CanBeNull::class.'::or',
126 126
         ], $key);
127 127
     }
128 128
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         return Is::decoratedType(
183 183
             $this->className, 
184 184
             $this->constructorName,
185
-            array_merge($this->decorators, [CanBeNull::class . '::or']),
185
+            array_merge($this->decorators, [CanBeNull::class.'::or']),
186 186
             $this->key
187 187
         );
188 188
     }
Please login to merge, or discard this patch.