@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * |
| 20 | 20 | * @param BundleInterface $bundle |
| 21 | - * @param type $entity |
|
| 21 | + * @param string $entity |
|
| 22 | 22 | * @param ClassMetadataInfo $metadata |
| 23 | 23 | * @param Configuration $config |
| 24 | 24 | * @throws RuntimeException |
@@ -160,7 +160,6 @@ discard block |
||
| 160 | 160 | |
| 161 | 161 | /** |
| 162 | 162 | * Generates the controller class only. |
| 163 | - * @param boolean $config->getOverwrite() |
|
| 164 | 163 | */ |
| 165 | 164 | protected function generateCrudControllerClass() { |
| 166 | 165 | $dir = $this->bundle->getPath(); |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Constructor. |
| 25 | 25 | * |
| 26 | - * @param DisconnectedMetadataFactory $metadataFactory DisconnectedMetadataFactory instance |
|
| 27 | 26 | */ |
| 28 | 27 | public function __construct(MetadataGuesser $guesser) |
| 29 | 28 | { |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * Constructor. |
| 23 | 23 | * |
| 24 | - * @param DisconnectedMetadataFactory $metadataFactory DisconnectedMetadataFactory instance |
|
| 25 | 24 | */ |
| 26 | 25 | public function __construct(MetadataGuesser $guesser) |
| 27 | 26 | { |
@@ -197,6 +197,9 @@ |
||
| 197 | 197 | $this->assertContains($expected, file_get_contents($rootDir . '/config/routing.yml')); |
| 198 | 198 | } |
| 199 | 199 | |
| 200 | + /** |
|
| 201 | + * @return \Symfony\Component\Console\Command\Command |
|
| 202 | + */ |
|
| 200 | 203 | protected function getCommand($generator, $input) |
| 201 | 204 | { |
| 202 | 205 | $command = $this |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Petkopara\CrudGeneratorBundle\Configuration\Configuration; |
| 6 | 6 | use Sensio\Bundle\GeneratorBundle\Tests\Command\GenerateCommandTest; |
| 7 | 7 | use Symfony\Component\Console\Tester\CommandTester; |
| 8 | -use Symfony\Component\Filesystem\Filesystem; |
|
| 9 | 8 | |
| 10 | 9 | /* |
| 11 | 10 | * This file is part of the CrudGeneratorBundle |
@@ -61,6 +61,9 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | + /** |
|
| 65 | + * @param boolean $overwrite |
|
| 66 | + */ |
|
| 64 | 67 | private function generateFormFilter($overwrite) |
| 65 | 68 | { |
| 66 | 69 | |
@@ -70,6 +73,9 @@ discard block |
||
| 70 | 73 | $generator->generate($bundle, 'Post', $metadata, $overwrite, CrudGeneratorCommand::FILTER_TYPE_FORM); |
| 71 | 74 | } |
| 72 | 75 | |
| 76 | + /** |
|
| 77 | + * @param boolean $overwrite |
|
| 78 | + */ |
|
| 73 | 79 | private function generateMultiSearchFilter($overwrite) |
| 74 | 80 | { |
| 75 | 81 | $generator = $this->getFilterGenerator(); |