Passed
Push — master ( 674e23...3482e1 )
by Luis
03:39 queued 39s
created
src/Code/UseStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     public function endsWith(Name $name): bool
17 17
     {
18
-        return str_ends_with(haystack: (string) $this->name, needle: $name->removeArraySuffix());
18
+        return str_ends_with(haystack : (string) $this->name, needle : $name->removeArraySuffix());
19 19
     }
20 20
 
21 21
     public function includes(Name $name): bool
Please login to merge, or discard this patch.
src/Parser/Code/Builders/TagTypeFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         /** @var Param[] $params */
33 33
         $params = array_values(array_filter(
34 34
             $parameterTags,
35
-            static fn (TagWithType|InvalidTag $parameter) =>
35
+            static fn(TagWithType | InvalidTag $parameter) =>
36 36
                $parameter instanceof Param && "\${$parameter->getVariableName()}" === $parameterName
37 37
         ));
38 38
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     private function resolveType(?Type $type): ?TagType
87 87
     {
88
-        return match (true) {
88
+        return match(true) {
89 89
             $type === null => null,
90 90
             $type instanceof Nullable => TagType::nullable((string) $type->getActualType()),
91 91
             $type instanceof Compound => TagType::compound(array_map('strval', $type->getIterator()->getArrayCopy())),
Please login to merge, or discard this patch.