@@ -89,7 +89,7 @@ |
||
| 89 | 89 | switch (get_class($stmt)) { |
| 90 | 90 | case TraitUse::class: |
| 91 | 91 | foreach ($stmt->traits as $use) { |
| 92 | - $classElement->addUsedTrait(new Fqsen('\\'. $use->toString())); |
|
| 92 | + $classElement->addUsedTrait(new Fqsen('\\' . $use->toString())); |
|
| 93 | 93 | } |
| 94 | 94 | break; |
| 95 | 95 | case PropertyNode::class: |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | $this->nodesFactory = $nodesFactory; |
| 69 | 69 | $this->adapter = $adapter; |
| 70 | 70 | |
| 71 | - $lastCallable = function ($command) { |
|
| 71 | + $lastCallable = function($command) { |
|
| 72 | 72 | return $this->createFile($command); |
| 73 | 73 | }; |
| 74 | 74 | |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | break; |
| 81 | 81 | case TraitUse::class: |
| 82 | 82 | foreach ($stmt->traits as $use) { |
| 83 | - $trait->addUsedTrait(new Fqsen('\\'. $use->toString())); |
|
| 83 | + $trait->addUsedTrait(new Fqsen('\\' . $use->toString())); |
|
| 84 | 84 | } |
| 85 | 85 | break; |
| 86 | 86 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | ) |
| 34 | 34 | ); |
| 35 | 35 | } |
| 36 | - $lastCallable = function ($command) use ($middleware, $lastCallable) { |
|
| 36 | + $lastCallable = function($command) use ($middleware, $lastCallable) { |
|
| 37 | 37 | return $middleware->execute($command, $lastCallable); |
| 38 | 38 | }; |
| 39 | 39 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $projectFactory = \phpDocumentor\Reflection\Php\ProjectFactory::createInstance(); |
| 23 | 23 | |
| 24 | 24 | // Create an array of files to analize. |
| 25 | -$files = [ new \phpDocumentor\Reflection\File\LocalFile('tests/example.file.php') ]; |
|
| 25 | +$files = [new \phpDocumentor\Reflection\File\LocalFile('tests/example.file.php')]; |
|
| 26 | 26 | |
| 27 | 27 | //create a new project 'MyProject' containing all elements in the files. |
| 28 | 28 | /** @var Project $project */ |