@@ -111,6 +111,9 @@ |
||
| 111 | 111 | return $stmt->addStmt($class)->getNode(); |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | + /** |
|
| 115 | + * @param \PhpParser\Builder\Class_ $class |
|
| 116 | + */ |
|
| 114 | 117 | protected function processProperty($class, $stmt, $name, $details) |
| 115 | 118 | { |
| 116 | 119 | if (is_string($details)) { |
@@ -2,11 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace ApiClients\Tools\ResourceGenerator\FileGenerators; |
| 4 | 4 | |
| 5 | -use ApiClients\Foundation\Hydrator\Annotations\Collection; |
|
| 6 | -use ApiClients\Foundation\Hydrator\Annotations\Nested; |
|
| 7 | -use ApiClients\Foundation\Hydrator\Annotations\Rename; |
|
| 8 | 5 | use ApiClients\Foundation\Resource\AbstractResource; |
| 9 | -use ApiClients\Foundation\Resource\ResourceInterface; |
|
| 10 | 6 | use ApiClients\Tools\ResourceGenerator\FileGeneratorInterface; |
| 11 | 7 | use Doctrine\Common\Inflector\Inflector; |
| 12 | 8 | use PhpParser\Builder\Method; |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Symfony\CS\Config\Config; |
| 9 | 9 | use Symfony\CS\ConfigAwareInterface; |
| 10 | 10 | use Symfony\CS\ConfigInterface; |
| 11 | -use Symfony\CS\FileCacheManager; |
|
| 12 | 11 | use Symfony\CS\Fixer; |
| 13 | 12 | use Symfony\CS\FixerInterface; |
| 14 | 13 | |