@@ -107,7 +107,7 @@ |
||
| 107 | 107 | { |
| 108 | 108 | $result = ''; |
| 109 | 109 | if (!$this->docComment->isEmpty()) { |
| 110 | - $result .= $this->docComment->render($indentLevel) . "\n"; |
|
| 110 | + $result .= $this->docComment->render($indentLevel)."\n"; |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | $result .= $this->addIndent("{$this->access} \${$this->getName()}", $indentLevel); |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | protected function addIndent(string $string, int $indent = 0): string |
| 33 | 33 | { |
| 34 | - return str_repeat(self::INDENT, max($indent, 0)) . $string; |
|
| 34 | + return str_repeat(self::INDENT, max($indent, 0)).$string; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | $name = $context->getName(); |
| 42 | 42 | if ($context instanceof \ReflectionMethod) { |
| 43 | - $name = $context->class . '::' . $name; |
|
| 43 | + $name = $context->class.'::'.$name; |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | parent::__construct("Unable to resolve '{$parameter->name}' argument in '{$name}'"); |
@@ -392,7 +392,7 @@ discard block |
||
| 392 | 392 | $path = str_replace(['//', '\\'], '/', $path); |
| 393 | 393 | |
| 394 | 394 | //Potentially open links and ../ type directories? |
| 395 | - return rtrim($path, '/') . ($asDirectory ? '/' : ''); |
|
| 395 | + return rtrim($path, '/').($asDirectory ? '/' : ''); |
|
| 396 | 396 | } |
| 397 | 397 | |
| 398 | 398 | /** |
@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | $relative = array_pad($relative, $padLength, '..'); |
| 424 | 424 | break; |
| 425 | 425 | } else { |
| 426 | - $relative[0] = './' . $relative[0]; |
|
| 426 | + $relative[0] = './'.$relative[0]; |
|
| 427 | 427 | } |
| 428 | 428 | } |
| 429 | 429 | } |