mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
Add explicit return types and TranslatableInterface support
Updated interfaces to include explicit return types for improved type safety and readability. Integrated support for Symfony's TranslatableInterface in relevant methods to enhance translation handling.
This commit is contained in:
@@ -31,5 +31,5 @@ interface ExportElementValidatedInterface
|
||||
* validate the form's data and, if required, build a contraint
|
||||
* violation on the data.
|
||||
*/
|
||||
public function validateForm(mixed $data, ExecutionContextInterface $context);
|
||||
public function validateForm(mixed $data, ExecutionContextInterface $context): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user