From dca993834b373782b8a9afc17e5ce530ce8e7d55 Mon Sep 17 00:00:00 2001 From: Jean-Francois Monfort Date: Thu, 18 Feb 2021 09:00:13 +0100 Subject: [PATCH] Fix Interface syntax to be comptatible with legacy code --- Export/DirectExportInterface.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Export/DirectExportInterface.php b/Export/DirectExportInterface.php index c315fc305..ea82175e9 100644 --- a/Export/DirectExportInterface.php +++ b/Export/DirectExportInterface.php @@ -18,7 +18,7 @@ interface DirectExportInterface extends ExportElementInterface * * @return string */ - public function getDescription(): string; + public function getDescription(); /** * Generate the export @@ -28,12 +28,12 @@ interface DirectExportInterface extends ExportElementInterface * * @return \Symfony\Component\HttpFoundation\Response */ - public function generate(array $acl, array $data = []): Response; + public function generate(array $acl, array $data = []); /** * authorized role * * @return \Symfony\Component\Security\Core\Role\Role */ - public function requiredRole(): Role; + public function requiredRole(); }