mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-09 13:48:23 +00:00
Run symfonysetlist up to symfony_70
This commit is contained in:
@@ -39,14 +39,8 @@ abstract class AbstractCRUDController extends AbstractController
|
||||
*/
|
||||
protected array $crudConfig = [];
|
||||
|
||||
protected readonly SerializerInterface $serializer;
|
||||
|
||||
protected readonly ManagerRegistry $managerRegistry;
|
||||
|
||||
public function __construct(SerializerInterface $serializer, ManagerRegistry $managerRegistry)
|
||||
public function __construct(protected readonly SerializerInterface $serializer, protected readonly ManagerRegistry $managerRegistry)
|
||||
{
|
||||
$this->serializer = $serializer;
|
||||
$this->managerRegistry = $managerRegistry;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -66,7 +66,7 @@ class TwigCRUDResolver extends AbstractExtension
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function hasAction($crudName, $action)
|
||||
public function hasAction($crudName, $action): bool
|
||||
{
|
||||
return $this->resolver->hasAction($crudName, $action);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user