mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-16 10:12:49 +00:00
Fix Interface syntax to be comptatible with legacy code
This commit is contained in:
@@ -18,7 +18,7 @@ interface DirectExportInterface extends ExportElementInterface
|
|||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getDescription(): string;
|
public function getDescription();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate the export
|
* Generate the export
|
||||||
@@ -28,12 +28,12 @@ interface DirectExportInterface extends ExportElementInterface
|
|||||||
*
|
*
|
||||||
* @return \Symfony\Component\HttpFoundation\Response
|
* @return \Symfony\Component\HttpFoundation\Response
|
||||||
*/
|
*/
|
||||||
public function generate(array $acl, array $data = []): Response;
|
public function generate(array $acl, array $data = []);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* authorized role
|
* authorized role
|
||||||
*
|
*
|
||||||
* @return \Symfony\Component\Security\Core\Role\Role
|
* @return \Symfony\Component\Security\Core\Role\Role
|
||||||
*/
|
*/
|
||||||
public function requiredRole(): Role;
|
public function requiredRole();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user