fix phpstan

This commit is contained in:
2025-10-30 01:33:28 +01:00
parent 14d65fa931
commit fabbb0c091
2 changed files with 1 additions and 4 deletions

View File

@@ -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(),

View File

@@ -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;