mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix Interface syntax to be comptatible with legacy code
This commit is contained in:
parent
c8507b4a13
commit
dca993834b
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user