From 76f1814848fa0f27425d82fcc551e150e5f98d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 13 Sep 2023 10:10:04 +0200 Subject: [PATCH] More identation on some method parameters --- .../ChillMainBundle/Export/ExportManager.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Export/ExportManager.php b/src/Bundle/ChillMainBundle/Export/ExportManager.php index cebe04157..612ff4140 100644 --- a/src/Bundle/ChillMainBundle/Export/ExportManager.php +++ b/src/Bundle/ChillMainBundle/Export/ExportManager.php @@ -451,10 +451,12 @@ class ExportManager * Return true if the current user has access to the ExportElement for every * center, false if the user hasn't access to element for at least one center. * - * */ - public function isGrantedForElement(ExportInterface|DirectExportInterface|ModifierInterface $element, \Chill\MainBundle\Export\DirectExportInterface|\Chill\MainBundle\Export\ExportInterface $export = null, ?array $centers = null): bool - { + public function isGrantedForElement( + ExportInterface|DirectExportInterface|ModifierInterface $element, + \Chill\MainBundle\Export\DirectExportInterface|\Chill\MainBundle\Export\ExportInterface $export = null, + ?array $centers = null + ): bool { if ($element instanceof ExportInterface || $element instanceof DirectExportInterface) { $role = $element->requiredRole(); } else { @@ -615,9 +617,9 @@ class ExportManager } /** - * @param type $data the data from the filter key of the ExportType + * @param mixed $data the data from the filter key of the ExportType */ - private function retrieveUsedFilters($data) + private function retrieveUsedFilters(mixed $data): iterable { if (null === $data) { return []; @@ -637,7 +639,7 @@ class ExportManager * * @return array an array with types */ - private function retrieveUsedFiltersType(mixed $data) + private function retrieveUsedFiltersType(mixed $data): iterable { if (null === $data) { return [];