mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-12 23:27:39 +00:00
fix phpstan
This commit is contained in:
@@ -189,11 +189,9 @@ class CRUDController extends AbstractController
|
||||
*
|
||||
* This method should not be overriden. Override `getRoleFor` instead.
|
||||
*
|
||||
* @param string $action
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function buildDefaultRole($action)
|
||||
protected function buildDefaultRole(string $action): string
|
||||
{
|
||||
return $this->resolver->buildDefaultRole(
|
||||
$this->getCrudName(),
|
||||
|
||||
@@ -12,7 +12,6 @@ declare(strict_types=1);
|
||||
namespace Chill\PersonBundle\CRUD\Controller;
|
||||
|
||||
use Chill\MainBundle\CRUD\Controller\CRUDController;
|
||||
use Chill\MainBundle\CRUD\Controller\string;
|
||||
use Chill\PersonBundle\Entity\Person;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Doctrine\Persistence\ManagerRegistry;
|
||||
|
||||
Reference in New Issue
Block a user