Passed
Push — v1 ( 13d432...ee3d7e )
by Andrew
15:41 queued 14s
created
src/generators/AutocompleteVariableGenerator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
                         $methodReturn = '';
125 125
                         $reflectMethodReturnType = $reflectMethod->getReturnType();
126 126
                         if ($reflectMethodReturnType instanceof ReflectionNamedType) {
127
-                            $methodReturn = ': ' . $reflectMethodReturnType->getName();
127
+                            $methodReturn = ': '.$reflectMethodReturnType->getName();
128 128
                         }
129 129
                         // Method parameters
130 130
                         $methodParams = [];
@@ -132,11 +132,11 @@  discard block
 block discarded – undo
132 132
                             $paramType = '';
133 133
                             $methodParamType = $methodParam->getType();
134 134
                             if ($methodParamType) {
135
-                                $paramType = $methodParamType . ' ';
135
+                                $paramType = $methodParamType.' ';
136 136
                             }
137
-                            $methodParams[] = $paramType . '$' . $methodParam->getName();
137
+                            $methodParams[] = $paramType.'$'.$methodParam->getName();
138 138
                         }
139
-                        $methods[$reflectMethodName] = '(' . implode(', ', $methodParams) . ')' . $methodReturn;
139
+                        $methods[$reflectMethodName] = '('.implode(', ', $methodParams).')'.$methodReturn;
140 140
                     }
141 141
                 } catch (\ReflectionException $e) {
142 142
                 }
@@ -152,11 +152,11 @@  discard block
 block discarded – undo
152 152
 
153 153
         // Format the line output for each property
154 154
         foreach ($properties as $key => $value) {
155
-            $properties[$key] = ' * @property \\' . $value . ' $' . $key;
155
+            $properties[$key] = ' * @property \\'.$value.' $'.$key;
156 156
         }
157 157
         // Format the line output for each method
158 158
         foreach ($methods as $key => $value) {
159
-            $methods[$key] = ' * @method ' . $key . $value;
159
+            $methods[$key] = ' * @method '.$key.$value;
160 160
         }
161 161
 
162 162
         // Save the template with variable substitution
Please login to merge, or discard this patch.
src/base/GeneratorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public const TEMPLATE_EXTENSION = '.php';
26 26
     public const STUBS_EXTENSION = '.php.stub';
27
-    public const STUBS_DIR = DIRECTORY_SEPARATOR . 'stubs';
27
+    public const STUBS_DIR = DIRECTORY_SEPARATOR.'stubs';
28 28
 
29 29
     // Public Static Methods
30 30
     // =========================================================================
Please login to merge, or discard this patch.
ecs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 return static function(ECSConfig $ecsConfig): void {
7 7
     $ecsConfig->paths([
8
-        __DIR__ . '/src',
8
+        __DIR__.'/src',
9 9
         __FILE__,
10 10
     ]);
11 11
     $ecsConfig->parallel();
Please login to merge, or discard this patch.