mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-26 17:43:54 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -37,8 +37,8 @@ class ReportSearch extends AbstractSearch implements ContainerAwareInterface
|
||||
private $user;
|
||||
|
||||
public function __construct(
|
||||
private EntityManagerInterface $em,
|
||||
private AuthorizationHelper $helper,
|
||||
private readonly EntityManagerInterface $em,
|
||||
private readonly AuthorizationHelper $helper,
|
||||
TokenStorageInterface $tokenStorage
|
||||
) {
|
||||
if (!$tokenStorage->getToken()->getUser() instanceof \Chill\MainBundle\Entity\User) {
|
||||
|
Reference in New Issue
Block a user