Passed
Pull Request — 1.x (#342)
by Akihito
01:37
created
src/OptionsMethodRequest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @psalm-suppress RedundantCondition for BC
45 45
      */
46
-    private function getParameterType(ReflectionParameter $parameter, array $paramDoc, string $name): string|null
46
+    private function getParameterType(ReflectionParameter $parameter, array $paramDoc, string $name): string | null
47 47
     {
48 48
         /** @phpstan-ignore function.alreadyNarrowedType */
49 49
         $hasType = method_exists($parameter, 'getType') && $parameter->getType();
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 $paramDoc[$name]['in'] = $ins[$parameter->name];
85 85
             }
86 86
 
87
-            if (! isset($paramDoc[$parameter->name])) {
87
+            if (!isset($paramDoc[$parameter->name])) {
88 88
                 $paramDoc[$name] = [];
89 89
             }
90 90
 
@@ -109,10 +109,10 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @return array{0: ParametersMap, 1: RequiredParameterList}|null
111 111
      */
112
-    private function expandInputParameter(ReflectionParameter $parameter): array|null
112
+    private function expandInputParameter(ReflectionParameter $parameter): array | null
113 113
     {
114 114
         $type = $parameter->getType();
115
-        if (! $type instanceof ReflectionNamedType || $type->isBuiltin()) {
115
+        if (!$type instanceof ReflectionNamedType || $type->isBuiltin()) {
116 116
             return null;
117 117
         }
118 118
 
Please login to merge, or discard this patch.