@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Gson\Internal\Data; |
| 10 | 10 | |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | public function create(TypeToken $phpType): PropertyCollection |
| 125 | 125 | { |
| 126 | 126 | $class = $phpType->getRawType(); |
| 127 | - $key = 'gson.properties.'.str_replace('\\', '', $class); |
|
| 127 | + $key = 'gson.properties.' . str_replace('\\', '', $class); |
|
| 128 | 128 | |
| 129 | 129 | $data = $this->cache->get($key); |
| 130 | 130 | if ($data !== null) { |
@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | * Distributed under the MIT License (http://opensource.org/licenses/MIT) |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | -declare(strict_types=1); |
|
| 7 | +declare(strict_types = 1); |
|
| 8 | 8 | |
| 9 | 9 | namespace Tebru\Gson; |
| 10 | 10 | |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | */ |
| 334 | 334 | public function setCacheDir(string $cacheDir): GsonBuilder |
| 335 | 335 | { |
| 336 | - $this->cacheDir = $cacheDir.'/gson'; |
|
| 336 | + $this->cacheDir = $cacheDir . '/gson'; |
|
| 337 | 337 | |
| 338 | 338 | return $this; |
| 339 | 339 | } |