Passed
Push — object_from_docblock ( 2094fa )
by Luis
09:13
created
src/Parser/Code/Builders/TagTypeFactory.php 1 patch
Spacing   +3 added lines, -3 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())),
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     private function fromTypedObject(Type $type): TagType
97 97
     {
98
-        if (! $type instanceof Object_) {
98
+        if (!$type instanceof Object_) {
99 99
             return TagType::named((string) $type);
100 100
         }
101 101
         if ($type->getFqsen() === null) {
Please login to merge, or discard this patch.