mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 13:06:13 +00:00
fix phpstan issues
This commit is contained in:
parent
1d7279c022
commit
c4dd46a03c
@ -166,7 +166,7 @@ class LoadReports extends AbstractFixture implements ContainerAwareInterface, Or
|
|||||||
/**
|
/**
|
||||||
* pick a random choice.
|
* pick a random choice.
|
||||||
*
|
*
|
||||||
* @return string|string[] the array of slug if multiple, a single slug otherwise
|
* @return string|string[]
|
||||||
*/
|
*/
|
||||||
private function getRandomChoice(CustomField $field)
|
private function getRandomChoice(CustomField $field)
|
||||||
{
|
{
|
||||||
@ -211,6 +211,8 @@ class LoadReports extends AbstractFixture implements ContainerAwareInterface, Or
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $picked;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -226,7 +228,7 @@ class LoadReports extends AbstractFixture implements ContainerAwareInterface, Or
|
|||||||
/**
|
/**
|
||||||
* pick a choice within a 'choices' options (for choice type).
|
* pick a choice within a 'choices' options (for choice type).
|
||||||
*
|
*
|
||||||
* @return the slug of the selected choice
|
* @return string the slug of the selected choice
|
||||||
*/
|
*/
|
||||||
private function pickChoice(array $choices)
|
private function pickChoice(array $choices)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user