@@ -4,7 +4,7 @@  | 
                                                    ||
| 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\Annotation;  | 
                                                        
| 10 | 10 | |
@@ -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\Annotation;  | 
                                                        
| 10 | 10 | |
@@ -62,7 +62,7 @@ discard block  | 
                                                    ||
| 62 | 62 | *  | 
                                                        
| 63 | 63 | * @return string  | 
                                                        
| 64 | 64 | */  | 
                                                        
| 65 | - public function getter(): ?string  | 
                                                        |
| 65 | + public function getter(): ? string  | 
                                                        |
| 66 | 66 |      { | 
                                                        
| 67 | 67 | return $this->get;  | 
                                                        
| 68 | 68 | }  | 
                                                        
@@ -72,7 +72,7 @@ discard block  | 
                                                    ||
| 72 | 72 | *  | 
                                                        
| 73 | 73 | * @return string  | 
                                                        
| 74 | 74 | */  | 
                                                        
| 75 | - public function setter(): ?string  | 
                                                        |
| 75 | + public function setter(): ? string  | 
                                                        |
| 76 | 76 |      { | 
                                                        
| 77 | 77 | return $this->set;  | 
                                                        
| 78 | 78 | }  | 
                                                        
@@ -23,6 +23,6 @@  | 
                                                    ||
| 23 | 23 | const STRING = 'string';  | 
                                                        
| 24 | 24 | const BOOLEAN = 'boolean';  | 
                                                        
| 25 | 25 | const NUMBER = 'number';  | 
                                                        
| 26 | - const NULL = 'null';  | 
                                                        |
| 26 | + const null = 'null';  | 
                                                        |
| 27 | 27 | const NAME = 'name';  | 
                                                        
| 28 | 28 | }  | 
                                                        
@@ -4,7 +4,7 @@  | 
                                                    ||
| 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 | |
@@ -166,7 +166,7 @@  | 
                                                    ||
| 166 | 166 | $token = JsonToken::BEGIN_ARRAY;  | 
                                                        
| 167 | 167 | break;  | 
                                                        
| 168 | 168 | case JsonNull::class:  | 
                                                        
| 169 | - $token = JsonToken::NULL;  | 
                                                        |
| 169 | + $token = JsonToken::null;  | 
                                                        |
| 170 | 170 | break;  | 
                                                        
| 171 | 171 | case JsonObject::class:  | 
                                                        
| 172 | 172 | $token = JsonToken::BEGIN_OBJECT;  | 
                                                        
@@ -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;  | 
                                                        
| 10 | 10 | |
@@ -219,11 +219,11 @@ discard block  | 
                                                    ||
| 219 | 219 | $result = '$';  | 
                                                        
| 220 | 220 |          foreach ($this->stack as $index => $item) { | 
                                                        
| 221 | 221 |              if ($item instanceof ArrayIterator && isset($this->pathIndices[$index])) { | 
                                                        
| 222 | - $result .= '['.$this->pathIndices[$index].']';  | 
                                                        |
| 222 | + $result .= '[' . $this->pathIndices[$index] . ']';  | 
                                                        |
| 223 | 223 | }  | 
                                                        
| 224 | 224 | |
| 225 | 225 |              if ($item instanceof JsonObjectIterator && isset($this->pathNames[$index])) { | 
                                                        
| 226 | - $result .= '.'.$this->pathNames[$index];  | 
                                                        |
| 226 | + $result .= '.' . $this->pathNames[$index];  | 
                                                        |
| 227 | 227 | }  | 
                                                        
| 228 | 228 | }  | 
                                                        
| 229 | 229 | |
@@ -160,7 +160,7 @@  | 
                                                    ||
| 160 | 160 | */  | 
                                                        
| 161 | 161 | public function nextNull()  | 
                                                        
| 162 | 162 |      { | 
                                                        
| 163 | - $this->expect(JsonToken::NULL);  | 
                                                        |
| 163 | + $this->expect(JsonToken::null);  | 
                                                        |
| 164 | 164 | |
| 165 | 165 | $this->pop();  | 
                                                        
| 166 | 166 | |
@@ -4,7 +4,7 @@  | 
                                                    ||
| 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;  | 
                                                        
| 10 | 10 | |
@@ -26,7 +26,7 @@  | 
                                                    ||
| 26 | 26 | */  | 
                                                        
| 27 | 27 | public function read(JsonReadable $reader): ?float  | 
                                                        
| 28 | 28 |      { | 
                                                        
| 29 | -        if ($reader->peek() === JsonToken::NULL) { | 
                                                        |
| 29 | +        if ($reader->peek() === JsonToken::null) { | 
                                                        |
| 30 | 30 | return $reader->nextNull();  | 
                                                        
| 31 | 31 | }  | 
                                                        
| 32 | 32 | |
@@ -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\TypeAdapter;  | 
                                                        
| 10 | 10 | |
@@ -26,7 +26,7 @@ discard block  | 
                                                    ||
| 26 | 26 | * @param JsonReadable $reader  | 
                                                        
| 27 | 27 | * @return float|null  | 
                                                        
| 28 | 28 | */  | 
                                                        
| 29 | - public function read(JsonReadable $reader): ?float  | 
                                                        |
| 29 | + public function read(JsonReadable $reader): ? float  | 
                                                        |
| 30 | 30 |      { | 
                                                        
| 31 | 31 |          if ($reader->peek() === JsonToken::NULL) { | 
                                                        
| 32 | 32 | return $reader->nextNull();  | 
                                                        
@@ -26,7 +26,7 @@  | 
                                                    ||
| 26 | 26 | */  | 
                                                        
| 27 | 27 | public function read(JsonReadable $reader): ?int  | 
                                                        
| 28 | 28 |      { | 
                                                        
| 29 | -        if ($reader->peek() === JsonToken::NULL) { | 
                                                        |
| 29 | +        if ($reader->peek() === JsonToken::null) { | 
                                                        |
| 30 | 30 | return $reader->nextNull();  | 
                                                        
| 31 | 31 | }  | 
                                                        
| 32 | 32 | |
@@ -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\TypeAdapter;  | 
                                                        
| 10 | 10 | |
@@ -26,7 +26,7 @@ discard block  | 
                                                    ||
| 26 | 26 | * @param JsonReadable $reader  | 
                                                        
| 27 | 27 | * @return int|null  | 
                                                        
| 28 | 28 | */  | 
                                                        
| 29 | - public function read(JsonReadable $reader): ?int  | 
                                                        |
| 29 | + public function read(JsonReadable $reader): ? int  | 
                                                        |
| 30 | 30 |      { | 
                                                        
| 31 | 31 |          if ($reader->peek() === JsonToken::NULL) { | 
                                                        
| 32 | 32 | return $reader->nextNull();  | 
                                                        
@@ -26,7 +26,7 @@  | 
                                                    ||
| 26 | 26 | */  | 
                                                        
| 27 | 27 | public function read(JsonReadable $reader): ?bool  | 
                                                        
| 28 | 28 |      { | 
                                                        
| 29 | -        if ($reader->peek() === JsonToken::NULL) { | 
                                                        |
| 29 | +        if ($reader->peek() === JsonToken::null) { | 
                                                        |
| 30 | 30 | return $reader->nextNull();  | 
                                                        
| 31 | 31 | }  | 
                                                        
| 32 | 32 | |
@@ -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\TypeAdapter;  | 
                                                        
| 10 | 10 | |
@@ -26,7 +26,7 @@ discard block  | 
                                                    ||
| 26 | 26 | * @param JsonReadable $reader  | 
                                                        
| 27 | 27 | * @return bool|null  | 
                                                        
| 28 | 28 | */  | 
                                                        
| 29 | - public function read(JsonReadable $reader): ?bool  | 
                                                        |
| 29 | + public function read(JsonReadable $reader): ? bool  | 
                                                        |
| 30 | 30 |      { | 
                                                        
| 31 | 31 |          if ($reader->peek() === JsonToken::NULL) { | 
                                                        
| 32 | 32 | return $reader->nextNull();  | 
                                                        
@@ -26,7 +26,7 @@  | 
                                                    ||
| 26 | 26 | */  | 
                                                        
| 27 | 27 | public function read(JsonReadable $reader): ?string  | 
                                                        
| 28 | 28 |      { | 
                                                        
| 29 | -        if ($reader->peek() === JsonToken::NULL) { | 
                                                        |
| 29 | +        if ($reader->peek() === JsonToken::null) { | 
                                                        |
| 30 | 30 | return $reader->nextNull();  | 
                                                        
| 31 | 31 | }  | 
                                                        
| 32 | 32 | |
@@ -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\TypeAdapter;  | 
                                                        
| 10 | 10 | |
@@ -26,7 +26,7 @@ discard block  | 
                                                    ||
| 26 | 26 | * @param JsonReadable $reader  | 
                                                        
| 27 | 27 | * @return string|null  | 
                                                        
| 28 | 28 | */  | 
                                                        
| 29 | - public function read(JsonReadable $reader): ?string  | 
                                                        |
| 29 | + public function read(JsonReadable $reader): ? string  | 
                                                        |
| 30 | 30 |      { | 
                                                        
| 31 | 31 |          if ($reader->peek() === JsonToken::NULL) { | 
                                                        
| 32 | 32 | return $reader->nextNull();  |