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:
2025-04-07 12:56:37 +02:00
parent 2482dcc62e
commit 8331a836f2
8 changed files with 72 additions and 34 deletions

View File

@@ -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;
}