@@ -13,8 +13,8 @@ |
||
| 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) { |
@@ -160,7 +160,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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) { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | array_keys($rawData) |
| 35 | 35 | ))) { |
| 36 | 36 | throw new \InvalidArgumentException( |
| 37 | - 'Invalid data to hydrate context: ' . json_encode($rawData) |
|
| 37 | + 'Invalid data to hydrate context: '.json_encode($rawData) |
|
| 38 | 38 | ); |
| 39 | 39 | } |
| 40 | 40 | } |