Test Setup Failed
Branch master (28dae0)
by Nate
03:12
created
src/Internal/JsonStreamReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -599,7 +599,7 @@
 block discarded – undo
599 599
      * Optionally pass in an array by reference to get the list
600 600
      * of characters read
601 601
      *
602
-     * @param array $characters
602
+     * @param string[] $characters
603 603
      * @param array $buffer
604 604
      * @return string
605 605
      * @throws \RuntimeException If there's an error reading the stream
Please login to merge, or discard this patch.
src/Internal/JsonDecodeReader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
         $this->currentToken = null;
171 171
 
172
-        return (float)$this->stack->pop();
172
+        return (float) $this->stack->pop();
173 173
     }
174 174
 
175 175
     /**
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 
189 189
         $this->currentToken = null;
190 190
 
191
-        return (int)$this->stack->pop();
191
+        return (int) $this->stack->pop();
192 192
     }
193 193
 
194 194
     /**
Please login to merge, or discard this patch.
src/Internal/StdClassIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     public function __construct(stdClass $class)
31 31
     {
32 32
         $this->queue = new SplQueue();
33
-        foreach(get_object_vars($class) as $key => $value) {
33
+        foreach (get_object_vars($class) as $key => $value) {
34 34
             $this->queue->enqueue([$key, $value]);
35 35
         }
36 36
 
Please login to merge, or discard this patch.
src/Internal/JsonObjectIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     public function __construct(JsonObject $jsonObject)
31 31
     {
32 32
         $this->queue = new SplQueue();
33
-        foreach($jsonObject as $key => $value) {
33
+        foreach ($jsonObject as $key => $value) {
34 34
             $this->queue->enqueue([$key, $value]);
35 35
         }
36 36
 
Please login to merge, or discard this patch.
src/Internal/Excluder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * @param string $version
85 85
      * @return Excluder
86 86
      */
87
-    public function setVersion(?string $version): Excluder
87
+    public function setVersion(? string $version) : Excluder
88 88
     {
89 89
         $this->version = $version;
90 90
 
Please login to merge, or discard this patch.
src/Internal/Data/AnnotationCollectionFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function createPropertyAnnotations(string $className, string $propertyName): AnnotationSet
57 57
     {
58
-        $key = $className.':'.$propertyName;
58
+        $key = $className . ':' . $propertyName;
59 59
         if ($this->cache->contains($key)) {
60 60
             return $this->cache->fetch($key);
61 61
         }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function createMethodAnnotations(string $className, string $methodName): AnnotationSet
145 145
     {
146
-        $key = $className.':'.$methodName;
146
+        $key = $className . ':' . $methodName;
147 147
         if ($this->cache->contains($key)) {
148 148
             return $this->cache->fetch($key);
149 149
         }
Please login to merge, or discard this patch.
src/Internal/Data/PropertyCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      * @param string $name
52 52
      * @return Property|null
53 53
      */
54
-    public function getBySerializedName(string $name): ?Property
54
+    public function getBySerializedName(string $name): ? Property
55 55
     {
56 56
         if (!array_key_exists($name, $this->elements)) {
57 57
             return null;
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/BooleanTypeAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * @param JsonReadable $reader
25 25
      * @return mixed
26 26
      */
27
-    public function read(JsonReadable $reader): ?bool
27
+    public function read(JsonReadable $reader): ? bool
28 28
     {
29 29
         if ($reader->peek() === JsonToken::NULL) {
30 30
             return $reader->nextNull();
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/StringTypeAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * @param JsonReadable $reader
25 25
      * @return mixed
26 26
      */
27
-    public function read(JsonReadable $reader): ?string
27
+    public function read(JsonReadable $reader): ? string
28 28
     {
29 29
         if ($reader->peek() === JsonToken::NULL) {
30 30
             return $reader->nextNull();
Please login to merge, or discard this patch.