Passed
Push — master ( 81fd1b...f4069a )
by Vitor de
03:26
created
src/DTOContext/DataWrapper/Mock.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
         $ref = new \ReflectionClass($name);
15 15
         foreach ($ref->getProperties() as $property) {
16
-            $methods[] = 'get' . ucfirst($property->name);
17
-            $methods[] = 'set' . ucfirst($property->name);
16
+            $methods[] = 'get'.ucfirst($property->name);
17
+            $methods[] = 'set'.ucfirst($property->name);
18 18
         }
19 19
 
20 20
         foreach ($ref->getMethods() as $method) {
Please login to merge, or discard this patch.
src/DTOContext/DataWrapper/Base.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     public function offsetGet($offset)
161 161
     {
162 162
         $property = $this->toStudlyCaps($offset);
163
-        return call_user_func(array($this, 'get' . $property));
163
+        return call_user_func(array($this, 'get'.$property));
164 164
     }
165 165
 
166 166
     /**
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     public function offsetSet($offset, $value)
172 172
     {
173 173
         $property = $this->toStudlyCaps($offset);
174
-        return call_user_func(array($this, 'set' . $property), $value);
174
+        return call_user_func(array($this, 'set'.$property), $value);
175 175
     }
176 176
 
177 177
     /**
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     {
232 232
         $class      = $property->getDeclaringClass();
233 233
         $doc        = $class->getDocComment();
234
-        $getter     = 'get' . $this->toStudlyCaps($property->getName());
234
+        $getter     = 'get'.$this->toStudlyCaps($property->getName());
235 235
         $regex      = "#@method (.+?) #";
236 236
 
237 237
         foreach (explode(PHP_EOL, $doc) as $commentLine) {
Please login to merge, or discard this patch.