Test Failed
Push — master ( 0ed588...201c5c )
by Kirill
07:50
created
src/IR/Type/TypeConstructors/RuntimeTypeConstructors.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public static function null(): TypeInterface
71 71
     {
72
-        return static::new(static::NULL);
72
+        return static::new(static::null);
73 73
     }
74 74
 
75 75
     /**
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public static function const(): TypeInterface
79 79
     {
80
-        return static::new(static::CONST);
80
+        return static::new(static::const);
81 81
     }
82 82
 
83 83
     /**
Please login to merge, or discard this patch.
src/IR/ValueObject.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
                 case $value instanceof \JsonSerializable:
132 132
                     break;
133 133
                 case \is_object($value) && \method_exists($value, '__toString'):
134
-                    $value = (string)$value;
134
+                    $value = (string) $value;
135 135
             }
136 136
 
137 137
             $result[$key] = $value;
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      */
165 165
     public function offsetExists($offset): bool
166 166
     {
167
-        return $this->has((string)$offset);
167
+        return $this->has((string) $offset);
168 168
     }
169 169
 
170 170
     /**
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public function offsetGet($offset)
175 175
     {
176
-        return $this->get((string)$offset);
176
+        return $this->get((string) $offset);
177 177
     }
178 178
 
179 179
     /**
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
             $offset = \count($this->attributes);
187 187
         }
188 188
 
189
-        $this->set((string)$offset, $value);
189
+        $this->set((string) $offset, $value);
190 190
     }
191 191
 
192 192
     /**
@@ -194,6 +194,6 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function offsetUnset($offset): void
196 196
     {
197
-        $this->delete((string)$offset);
197
+        $this->delete((string) $offset);
198 198
     }
199 199
 }
Please login to merge, or discard this patch.
src/Frontend/Deferred/Deferred.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @param mixed $value
88
-     * @return \Generator|mixed|null
88
+     * @return \Generator
89 89
      */
90 90
     public function __invoke($value)
91 91
     {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @param array $args
97
-     * @return \Generator|mixed
97
+     * @return \Generator
98 98
      */
99 99
     public function invoke(...$args): \Generator
100 100
     {
Please login to merge, or discard this patch.