@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * You can override this method to return the correct entity manager when using multiple databases ... |
| 35 | 35 | * |
| 36 | - * @return \Doctrine\Common\Persistence\ObjectManager|object |
|
| 36 | + * @return \Doctrine\Persistence\ObjectManager |
|
| 37 | 37 | */ |
| 38 | 38 | protected function getEntityManager() |
| 39 | 39 | { |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * Shows the list of entities |
| 45 | 45 | * |
| 46 | 46 | * @param AbstractAdminListConfigurator $configurator |
| 47 | - * @param null|Request $request |
|
| 47 | + * @param Request $request |
|
| 48 | 48 | * |
| 49 | 49 | * @return Response |
| 50 | 50 | */ |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * |
| 94 | 94 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
| 95 | 95 | * @param string $type The type to add |
| 96 | - * @param null|Request $request |
|
| 96 | + * @param Request $request |
|
| 97 | 97 | * |
| 98 | 98 | * @throws AccessDeniedHttpException |
| 99 | 99 | * |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | * |
| 189 | 189 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
| 190 | 190 | * @param string $entityId The id of the entity that will be edited |
| 191 | - * @param null|Request $request |
|
| 191 | + * @param Request $request |
|
| 192 | 192 | * |
| 193 | 193 | * @throws NotFoundHttpException |
| 194 | 194 | * @throws AccessDeniedHttpException |
@@ -342,7 +342,7 @@ discard block |
||
| 342 | 342 | * |
| 343 | 343 | * @param AbstractAdminListConfigurator $configurator The adminlist configurator |
| 344 | 344 | * @param int $entityId The id to delete |
| 345 | - * @param null|Request $request |
|
| 345 | + * @param Request $request |
|
| 346 | 346 | * |
| 347 | 347 | * @throws NotFoundHttpException |
| 348 | 348 | * @throws AccessDeniedHttpException |
@@ -469,6 +469,9 @@ discard block |
||
| 469 | 469 | ); |
| 470 | 470 | } |
| 471 | 471 | |
| 472 | + /** |
|
| 473 | + * @param \Doctrine\Persistence\ObjectRepository $repo |
|
| 474 | + */ |
|
| 472 | 475 | private function getMaxSortableField($repo, $sort) |
| 473 | 476 | { |
| 474 | 477 | $maxWeight = $repo->createQueryBuilder('i') |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * You can override this method to return the correct entity manager when using multiple databases ... |
| 19 | 19 | * |
| 20 | - * @return \Doctrine\Common\Persistence\ObjectManager|object |
|
| 20 | + * @return \Doctrine\Persistence\ObjectManager |
|
| 21 | 21 | */ |
| 22 | 22 | protected function getEntityManager() |
| 23 | 23 | { |
@@ -29,6 +29,8 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * {@inheritdoc} |
| 32 | + * @param string $path |
|
| 33 | + * @param string $filter |
|
| 32 | 34 | */ |
| 33 | 35 | protected function getFileUrl($path, $filter) |
| 34 | 36 | { |
@@ -75,6 +77,7 @@ discard block |
||
| 75 | 77 | |
| 76 | 78 | /** |
| 77 | 79 | * Copy from \Liip\ImagineBundle\Imagine\Cache\Resolver\WebPathResolver::getFullPath |
| 80 | + * @param string $path |
|
| 78 | 81 | */ |
| 79 | 82 | private function getFullPath($path, $filter) |
| 80 | 83 | { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | private $shouldStop = false; |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param string $rootDir |
|
| 39 | + * @param string $projectDir |
|
| 40 | 40 | */ |
| 41 | 41 | public function __construct(string $projectDir) |
| 42 | 42 | { |
@@ -64,6 +64,10 @@ discard block |
||
| 64 | 64 | ); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | + /** |
|
| 68 | + * @param InputInterface $input |
|
| 69 | + * @param OutputInterface $output |
|
| 70 | + */ |
|
| 67 | 71 | private function initAssistant($input, $output) |
| 68 | 72 | { |
| 69 | 73 | if (is_null($this->assistant)) { |
@@ -171,6 +175,9 @@ discard block |
||
| 171 | 175 | return 0; |
| 172 | 176 | } |
| 173 | 177 | |
| 178 | + /** |
|
| 179 | + * @param string $command |
|
| 180 | + */ |
|
| 174 | 181 | protected function executeCommand(OutputInterface $output, $command, array $options = [], $separateProcess = false) |
| 175 | 182 | { |
| 176 | 183 | $options = array_merge(['--no-debug' => true], $options); |