apply rules rector

This commit is contained in:
2023-07-19 22:48:26 +02:00
parent 6e6f19c499
commit 74ed34ba97
40 changed files with 250 additions and 697 deletions

View File

@@ -168,7 +168,7 @@ class LoadReports extends AbstractFixture implements ContainerAwareInterface, Or
*
* @return string|string[]
*/
private function getRandomChoice(CustomField $field)
private function getRandomChoice(CustomField $field): string|array
{
$choices = $field->getOptions()['choices'];
$multiple = $field->getOptions()['multiple'];