@@ -78,6 +78,6 @@ |
||
78 | 78 | */ |
79 | 79 | private function prependUpperCaseWith(string $string, string $replacement): string |
80 | 80 | { |
81 | - return \preg_replace('/(?<!^)([A-Z])/', $replacement.'\\1', $string); |
|
81 | + return \preg_replace('/(?<!^)([A-Z])/', $replacement . '\\1', $string); |
|
82 | 82 | } |
83 | 83 | } |
@@ -123,7 +123,7 @@ |
||
123 | 123 | public function create(TypeToken $phpType): PropertyCollection |
124 | 124 | { |
125 | 125 | $class = $phpType->getRawType(); |
126 | - $key = 'gson.properties.'.\str_replace('\\', '', $class); |
|
126 | + $key = 'gson.properties.' . \str_replace('\\', '', $class); |
|
127 | 127 | |
128 | 128 | $data = $this->cache->get($key); |
129 | 129 | if ($data !== null) { |