diff --git a/Controller/AdminClosingMotiveController.php b/Controller/AdminClosingMotiveController.php index aa23aeabf..483619be6 100644 --- a/Controller/AdminClosingMotiveController.php +++ b/Controller/AdminClosingMotiveController.php @@ -7,11 +7,19 @@ use Symfony\Component\HttpFoundation\Request; use Chill\MainBundle\Pagination\PaginatorInterface; /** + * Class AdminClosingMotiveController * Controller for closing motives * + * @package Chill\PersonBundle\Controller */ class AdminClosingMotiveController extends CRUDController { + + /** + * @param \Chill\MainBundle\CRUD\Controller\string|string $action + * @param Request $request + * @return object + */ protected function createEntity($action, Request $request): object { $entity = parent::createEntity($action, $request); @@ -29,10 +37,16 @@ class AdminClosingMotiveController extends CRUDController $entity->setParent($parent); } - return $entity; } + /** + * @param string $action + * @param \Doctrine\ORM\QueryBuilder|mixed $query + * @param Request $request + * @param PaginatorInterface $paginator + * @return \Doctrine\ORM\QueryBuilder|mixed + */ protected function orderQuery(string $action, $query, Request $request, PaginatorInterface $paginator) { /** @var \Doctrine\ORM\QueryBuilder $query */