From 2ff57cbe9126c4f1408b6ebf6201a01335196a2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szo=C5=82tysek?= Date: Thu, 23 May 2024 11:53:17 +0200 Subject: [PATCH] Fix deprecations --- tests/bundle/Form/RetryChoiceListFactoryTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/bundle/Form/RetryChoiceListFactoryTest.php b/tests/bundle/Form/RetryChoiceListFactoryTest.php index 601a2a08..5e92bff8 100644 --- a/tests/bundle/Form/RetryChoiceListFactoryTest.php +++ b/tests/bundle/Form/RetryChoiceListFactoryTest.php @@ -78,13 +78,13 @@ public function testCreateViewFail(): void } /** - * @return iterable> + * @return iterable */ public static function provider(): iterable { - yield ['No failures' => 0]; - yield ['One failure' => 1]; - yield ['Two failures' => 2]; - yield ['Three failures' => 3]; + yield 'No failures' => [0]; + yield 'One failure' => [1]; + yield 'Two failures' => [2]; + yield 'Three failures' => [3]; } }