@@ -95,12 +95,12 @@ |
||
| 95 | 95 | $paramString = ''; |
| 96 | 96 | $identation = str_repeat(' ', 4); |
| 97 | 97 | foreach ($methodParameters as $methodParameter) { |
| 98 | - $paramString .= "\n{$identation}" . $methodParameter; |
|
| 98 | + $paramString .= "\n{$identation}".$methodParameter; |
|
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | return sprintf( |
| 102 | 102 | "%sMethod [ <user%s%s%s>%s%s%s %s method %s ] {\n @@ %s %d - %d{$paramFormat}{$returnFormat}\n}\n", |
| 103 | - $this->getDocComment() ? $this->getDocComment() . "\n" : '', |
|
| 103 | + $this->getDocComment() ? $this->getDocComment()."\n" : '', |
|
| 104 | 104 | $prototype ? ", overwrites {$prototypeClass}, prototype {$prototypeClass}" : '', |
| 105 | 105 | $this->isConstructor() ? ', ctor' : '', |
| 106 | 106 | $this->isDestructor() ? ', dtor' : '', |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace Go\ParserReflection\NodeVisitor; |
| 12 | 12 | |
| 13 | -use PhpParser\Node\Name\FullyQualified; |
|
| 14 | 13 | use PhpParser\Node\Stmt\Declare_; |
| 15 | 14 | use PhpParser\Node\Stmt\Namespace_; |
| 16 | 15 | use PhpParser\NodeVisitorAbstract; |