Completed
Push — master ( 3886f0...1f9c9a )
by Nate
02:55
created
src/JsonWritable.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@
 block discarded – undo
94 94
      * Sets whether nulls are serialized
95 95
      *
96 96
      * @param bool $serializeNull
97
+     * @return void
97 98
      */
98 99
     public function setSerializeNull(bool $serializeNull): void;
99 100
 }
Please login to merge, or discard this patch.
src/PhpType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      *
199 199
      * @return string
200 200
      */
201
-    public function getClass(): ?string
201
+    public function getClass(): ? string
202 202
     {
203 203
         return $this->class;
204 204
     }
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
     {
325 325
         return [] === $this->options
326 326
             ? $this->fullType
327
-            : $this->fullType.serialize($this->options);
327
+            : $this->fullType . serialize($this->options);
328 328
     }
329 329
 
330 330
     /**
Please login to merge, or discard this patch.
src/GsonBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
      */
315 315
     public function setCacheDir(string $cacheDir): GsonBuilder
316 316
     {
317
-        $this->cacheDir = $cacheDir.'/gson';
317
+        $this->cacheDir = $cacheDir . '/gson';
318 318
 
319 319
         return $this;
320 320
     }
@@ -335,14 +335,14 @@  discard block
 block discarded – undo
335 335
         $propertyNamingStrategy = $this->propertyNamingStrategy ?? new SnakePropertyNamingStrategy();
336 336
         $methodNamingStrategy = $this->methodNamingStrategy ?? new UpperCaseMethodNamingStrategy();
337 337
 
338
-        $doctrineAnnotationCache = false === $this->enableCache ? new ArrayCache(): new ChainCache([new ArrayCache(), new FilesystemCache($this->cacheDir)]);
338
+        $doctrineAnnotationCache = false === $this->enableCache ? new ArrayCache() : new ChainCache([new ArrayCache(), new FilesystemCache($this->cacheDir)]);
339 339
         $doctrineAnnotationCache->setNamespace('doctrine_annotation_cache');
340 340
         $reader = new CachedReader(new AnnotationReader(), $doctrineAnnotationCache);
341 341
 
342 342
         $cache = false === $this->enableCache ? new ArrayCache() : new ChainCache([new ArrayCache(), new FilesystemCache($this->cacheDir)]);
343 343
         $cache->setNamespace('property_collection_cache');
344 344
 
345
-        $annotationCache = false === $this->enableCache ? new ArrayCache(): new ChainCache([new ArrayCache(), new FilesystemCache($this->cacheDir)]);
345
+        $annotationCache = false === $this->enableCache ? new ArrayCache() : new ChainCache([new ArrayCache(), new FilesystemCache($this->cacheDir)]);
346 346
         $annotationCache->setNamespace('annotation_cache');
347 347
 
348 348
         $typeAdapterCache = new ArrayCache();
Please login to merge, or discard this patch.