@@ -33,7 +33,7 @@ interface ChoiceListFactoryInterface
3333 *
3434 * @param callable|null $filter The callable filtering the choices
3535 */
36- public function createListFromChoices (iterable $ choices , callable $ value = null , callable $ filter = null ): ChoiceListInterface ;
36+ public function createListFromChoices (iterable $ choices , ? callable $ value = null , ? callable $ filter = null ): ChoiceListInterface ;
3737
3838 /**
3939 * Creates a choice list that is loaded with the given loader.
@@ -44,7 +44,7 @@ public function createListFromChoices(iterable $choices, callable $value = null,
4444 *
4545 * @param callable|null $filter The callable filtering the choices
4646 */
47- public function createListFromLoader (ChoiceLoaderInterface $ loader , callable $ value = null , callable $ filter = null ): ChoiceListInterface ;
47+ public function createListFromLoader (ChoiceLoaderInterface $ loader , ? callable $ value = null , ? callable $ filter = null ): ChoiceListInterface ;
4848
4949 /**
5050 * Creates a view for the given choice list.
@@ -78,5 +78,5 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, callable $va
7878 * @param array|callable|null $attr The callable generating the HTML attributes
7979 * @param array|callable $labelTranslationParameters The parameters used to translate the choice labels
8080 */
81- public function createView (ChoiceListInterface $ list , array |callable $ preferredChoices = null , callable |false $ label = null , callable $ index = null , callable $ groupBy = null , array |callable $ attr = null , array |callable $ labelTranslationParameters = []): ChoiceListView ;
81+ public function createView (ChoiceListInterface $ list , array |callable | null $ preferredChoices = null , callable |false | null $ label = null , ? callable $ index = null , ? callable $ groupBy = null , array |callable | null $ attr = null , array |callable $ labelTranslationParameters = []): ChoiceListView ;
8282}
0 commit comments