From 846e07a48b53af5a45a98258826488847d31151f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Egyed?= Date: Fri, 4 Aug 2023 21:22:24 +0200 Subject: [PATCH] Fix deprecations --- DependencyInjection/Configuration.php | 2 ++ DependencyInjection/ElaoFormTranslationExtension.php | 2 ++ Form/Extension/ButtonTypeExtension.php | 2 ++ Form/Extension/ChoiceTypeExtension.php | 2 ++ Form/Extension/CollectionTypeExtension.php | 4 ++++ Form/Extension/FormTypeExtension.php | 2 ++ Form/Extension/TreeAwareExtension.php | 2 ++ 7 files changed, 16 insertions(+) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index d82158c..0e50366 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -24,6 +24,8 @@ class Configuration implements ConfigurationInterface { /** * {@inheritdoc} + * + * @return TreeBuilder */ public function getConfigTreeBuilder() { diff --git a/DependencyInjection/ElaoFormTranslationExtension.php b/DependencyInjection/ElaoFormTranslationExtension.php index 264be42..2b5a7bd 100644 --- a/DependencyInjection/ElaoFormTranslationExtension.php +++ b/DependencyInjection/ElaoFormTranslationExtension.php @@ -26,6 +26,8 @@ class ElaoFormTranslationExtension extends Extension { /** * {@inheritdoc} + * + * @return void */ public function load(array $configs, ContainerBuilder $container) { diff --git a/Form/Extension/ButtonTypeExtension.php b/Form/Extension/ButtonTypeExtension.php index abb2e39..8a70144 100644 --- a/Form/Extension/ButtonTypeExtension.php +++ b/Form/Extension/ButtonTypeExtension.php @@ -36,6 +36,8 @@ public function getExtendedType() /** * {@inheritdoc} + * + * @return void */ public function configureOptions(OptionsResolver $resolver) { diff --git a/Form/Extension/ChoiceTypeExtension.php b/Form/Extension/ChoiceTypeExtension.php index 3a24922..dbcaba0 100644 --- a/Form/Extension/ChoiceTypeExtension.php +++ b/Form/Extension/ChoiceTypeExtension.php @@ -36,6 +36,8 @@ public function getExtendedType() /** * {@inheritdoc} + * + * @return void */ public function configureOptions(OptionsResolver $resolver) { diff --git a/Form/Extension/CollectionTypeExtension.php b/Form/Extension/CollectionTypeExtension.php index 01a6f9a..8442068 100644 --- a/Form/Extension/CollectionTypeExtension.php +++ b/Form/Extension/CollectionTypeExtension.php @@ -38,6 +38,8 @@ public function getExtendedType() /** * {@inheritdoc} + * + * @return void */ public function configureOptions(OptionsResolver $resolver) { @@ -49,6 +51,8 @@ public function configureOptions(OptionsResolver $resolver) /** * {@inheritdoc} + * + * @return void */ public function finishView(FormView $view, FormInterface $form, array $options) { diff --git a/Form/Extension/FormTypeExtension.php b/Form/Extension/FormTypeExtension.php index d754e73..98095ee 100644 --- a/Form/Extension/FormTypeExtension.php +++ b/Form/Extension/FormTypeExtension.php @@ -36,6 +36,8 @@ public function getExtendedType() /** * {@inheritdoc} + * + * @return void */ public function configureOptions(OptionsResolver $resolver) { diff --git a/Form/Extension/TreeAwareExtension.php b/Form/Extension/TreeAwareExtension.php index 5e2a4fa..c7a318c 100644 --- a/Form/Extension/TreeAwareExtension.php +++ b/Form/Extension/TreeAwareExtension.php @@ -115,6 +115,8 @@ public function setDefaultTranslationDomain($defaultTranslationDomain) /** * {@inheritdoc} + * + * @return void */ public function finishView(FormView $view, FormInterface $form, array $options) {