Passed
Push — master ( e59540...9f1466 )
by Christopher
06:58 queued 03:16
created
src/MetadataV3/mapping/cs/TEntityTypeMappingType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
             $msg = 'Type name cannot be null or empty';
137 137
             return false;
138 138
         }
139
-        if (null != $this->modificationFunctionMapping && !$this->modificationFunctionMapping>isOK($msg)) {
139
+        if (null != $this->modificationFunctionMapping && !$this->modificationFunctionMapping > isOK($msg)) {
140 140
             return false;
141 141
         }
142 142
         if (!$this->isValidArray(
Please login to merge, or discard this patch.
tests/TestTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,14 +188,14 @@
 block discarded – undo
188 188
     {
189 189
         $bar = m::mock(TestType::class);
190 190
         // closure needs to return true to match the matcher and thus trip the andReturn(false) bit
191
-        $bar->shouldReceive('isOK')->with(m::on(function (&$msg) {
191
+        $bar->shouldReceive('isOK')->with(m::on(function(&$msg) {
192 192
             $msg = 'OH NOES!';
193 193
             return true;
194 194
         }))->andReturn(false);
195 195
 
196 196
         $msg = null;
197 197
         $expected = "OH NOES!";
198
-        $arr = [ $bar ];
198
+        $arr = [$bar];
199 199
 
200 200
         $foo = new testType();
201 201
         $this->assertFalse($foo->isChildArrayOK($arr, $msg), $msg);
Please login to merge, or discard this patch.