php cs fixes after merge

This commit is contained in:
2024-05-22 16:44:02 +02:00
parent d34f9450b8
commit dddb6d66bc
11 changed files with 7 additions and 12 deletions

View File

@@ -727,6 +727,7 @@ class CRUDController extends AbstractController
* @param string $action
*
* @return string the path to the template
*
* @throws \LogicException if no template are available
*/
protected function getTemplateFor($action, mixed $entity, Request $request)

View File

@@ -553,6 +553,7 @@ class ExportManager
* This function check the acl.
*
* @param \Chill\MainBundle\Entity\Center[] $centers the picked centers
*
* @throw UnauthorizedHttpException if the user is not authorized
*/
private function handleFilters(
@@ -629,7 +630,6 @@ class ExportManager
/**
* Retrieve the filter used in this export.
*
*
* @return array an array with types
*/
private function retrieveUsedFiltersType(mixed $data): iterable

View File

@@ -198,7 +198,6 @@ class AuthorizationHelper implements AuthorizationHelperInterface
* if the entity implements Chill\MainBundle\Entity\HasScopeInterface,
* the scope is taken into account.
*
*
* @return bool true if the user has access
*/
public function userHasAccess(UserInterface $user, mixed $entity, string $attribute): bool