Passed
Push — v1 ( df8d27...157f6a )
by Andrew
21:05 queued 17:02
created
src/generators/AutocompleteVariableGenerator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
                             $methodReturn = '';
128 128
                             $reflectMethodReturnType = $reflectMethod->getReturnType();
129 129
                             if ($reflectMethodReturnType) {
130
-                                $methodReturn = ': ' . $reflectMethodReturnType->getName();
130
+                                $methodReturn = ': '.$reflectMethodReturnType->getName();
131 131
                             }
132 132
                             // Method parameters
133 133
                             $methodParams = [];
@@ -135,11 +135,11 @@  discard block
 block discarded – undo
135 135
                                 $paramType = '';
136 136
                                 $methodParamType = $methodParam->getType();
137 137
                                 if ($methodParamType) {
138
-                                    $paramType = $methodParamType . ' ';
138
+                                    $paramType = $methodParamType.' ';
139 139
                                 }
140
-                                $methodParams[] = $paramType . '$' . $methodParam->getName();
140
+                                $methodParams[] = $paramType.'$'.$methodParam->getName();
141 141
                             }
142
-                            $methods[$reflectMethodName] = '(' . implode(', ', $methodParams) . ')' . $methodReturn;
142
+                            $methods[$reflectMethodName] = '('.implode(', ', $methodParams).')'.$methodReturn;
143 143
                         }
144 144
                     }
145 145
                 } catch (\ReflectionException $e) {
@@ -156,11 +156,11 @@  discard block
 block discarded – undo
156 156
 
157 157
         // Format the line output for each property
158 158
         foreach ($properties as $key => $value) {
159
-            $properties[$key] = ' * @property \\' . $value . ' $' . $key;
159
+            $properties[$key] = ' * @property \\'.$value.' $'.$key;
160 160
         }
161 161
         // Format the line output for each method
162 162
         foreach ($methods as $key => $value) {
163
-            $methods[$key] = ' * @method ' . $key . $value;
163
+            $methods[$key] = ' * @method '.$key.$value;
164 164
         }
165 165
 
166 166
         // Save the template with variable substitution
Please login to merge, or discard this patch.