@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | public function __toString() |
| 98 | 98 | { |
| 99 | - return (string)\json_encode($this->toArray(), JSON_ERROR_NONE); |
|
| 99 | + return (string) \json_encode($this->toArray(), JSON_ERROR_NONE); |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | /** |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | */ |
| 119 | 119 | private function camelCase(string $attribute): string |
| 120 | 120 | { |
| 121 | - $string = \preg_replace_callback('/_(.?)/', function ($matches) { |
|
| 121 | + $string = \preg_replace_callback('/_(.?)/', function($matches) { |
|
| 122 | 122 | return \ucfirst($matches[1]); |
| 123 | 123 | }, $attribute); |
| 124 | 124 | |