Passed
Push — master ( 24cd0f...3a3149 )
by Nate
03:26
created
src/Internal/TypeAdapter/StringTypeAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/BooleanTypeAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/FloatTypeAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/Factory/JsonElementTypeAdapterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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\Factory;
10 10
 
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/ArrayTypeAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * @throws \Tebru\Gson\Exception\JsonSyntaxException If trying to read from non object/array
57 57
      * @throws \Tebru\PhpType\Exception\MalformedTypeException If the type cannot be parsed
58 58
      */
59
-    public function read(JsonReadable $reader): ?array
59
+    public function read(JsonReadable $reader): ? array
60 60
     {
61 61
         if ($reader->peek() === JsonToken::NULL) {
62 62
             return $reader->nextNull();
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/IntegerTypeAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/DateTimeTypeAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @return DateTime|null
53 53
      * @throws \Tebru\Gson\Exception\JsonSyntaxException If the DateTime could not be created from format
54 54
      */
55
-    public function read(JsonReadable $reader): ?DateTime
55
+    public function read(JsonReadable $reader): ? DateTime
56 56
     {
57 57
         if ($reader->peek() === JsonToken::NULL) {
58 58
             return $reader->nextNull();
Please login to merge, or discard this patch.
src/Internal/Data/MetadataPropertyCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Internal/Data/PropertyCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
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
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @param string $name
54 54
      * @return Property|null
55 55
      */
56
-    public function getBySerializedName(string $name): ?Property
56
+    public function getBySerializedName(string $name): ? Property
57 57
     {
58 58
         if (!isset($this->elements[$name])) {
59 59
             return null;
Please login to merge, or discard this patch.