@@ -124,7 +124,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -24,7 +24,7 @@ |
||
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 | // ========================================================================= |
@@ -5,7 +5,7 @@ |
||
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(); |