@@ -176,8 +176,8 @@ discard block |
||
| 176 | 176 | * @return string |
| 177 | 177 | */ |
| 178 | 178 | private function getCacheDirectory() { |
| 179 | - return dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . |
|
| 180 | - 'cache' . DIRECTORY_SEPARATOR; |
|
| 179 | + return dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR. |
|
| 180 | + 'cache'.DIRECTORY_SEPARATOR; |
|
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | /** |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | protected function getSkipAttributesByParent($parentAttribute) { |
| 259 | 259 | $skipAttributes = []; |
| 260 | 260 | |
| 261 | - $parentAttribute = $parentAttribute . '.'; |
|
| 261 | + $parentAttribute = $parentAttribute.'.'; |
|
| 262 | 262 | |
| 263 | 263 | foreach ($this->getSkipAttributes() as $skipAttribute) { |
| 264 | 264 | if (strpos($skipAttribute, $parentAttribute) === 0) { |
@@ -374,7 +374,7 @@ discard block |
||
| 374 | 374 | * @return string |
| 375 | 375 | */ |
| 376 | 376 | protected function createSetter($attribute) { |
| 377 | - return 'set' . ucfirst($attribute); |
|
| 377 | + return 'set'.ucfirst($attribute); |
|
| 378 | 378 | } |
| 379 | 379 | |
| 380 | 380 | /** |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | * @return string |
| 383 | 383 | */ |
| 384 | 384 | protected function createGetter($attribute) { |
| 385 | - return 'get' . ucfirst($attribute); |
|
| 385 | + return 'get'.ucfirst($attribute); |
|
| 386 | 386 | } |
| 387 | 387 | |
| 388 | 388 | /** |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | $this->setValue($value); |
| 40 | 40 | |
| 41 | 41 | $message = 'Value is unsupported. Must be json string, object or array; ' |
| 42 | - . $this->getValueType() . ' given'; |
|
| 42 | + . $this->getValueType().' given'; |
|
| 43 | 43 | |
| 44 | 44 | parent::__construct($message); |
| 45 | 45 | } |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | public function __construct($json) { |
| 39 | 39 | $this->setJson($json); |
| 40 | 40 | |
| 41 | - $message = 'Json "' . $this->getJson() . '" is invalid'; |
|
| 41 | + $message = 'Json "'.$this->getJson().'" is invalid'; |
|
| 42 | 42 | |
| 43 | 43 | parent::__construct($message); |
| 44 | 44 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * return string |
| 15 | 15 | */ |
| 16 | 16 | protected function createMessage() { |
| 17 | - return '"' . $this->getClass() . '" class has not a "' . $this->getField() . '" field'; |
|
| 17 | + return '"'.$this->getClass().'" class has not a "'.$this->getField().'" field'; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * return string |
| 15 | 15 | */ |
| 16 | 16 | protected function createMessage() { |
| 17 | - return 'Passed "' . $this->getField() . '" field of "' . $this->getClass() . '" class must be sequence'; |
|
| 17 | + return 'Passed "'.$this->getField().'" field of "'.$this->getClass().'" class must be sequence'; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * return string |
| 15 | 15 | */ |
| 16 | 16 | protected function createMessage() { |
| 17 | - return 'Passed "' . $this->getField() . '" field of "' . $this->getClass() . '" class must be an object'; |
|
| 17 | + return 'Passed "'.$this->getField().'" field of "'.$this->getClass().'" class must be an object'; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * return string |
| 15 | 15 | */ |
| 16 | 16 | protected function createMessage() { |
| 17 | - return 'Passed "' . $this->getField() . '" field of "' . $this->getClass() . '" class must be a simple type'; |
|
| 17 | + return 'Passed "'.$this->getField().'" field of "'.$this->getClass().'" class must be a simple type'; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | } |
| 21 | 21 | \ No newline at end of file |