You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 5.2:
[Console] Run commands when implements SignalableCommandInterface without pcntl and they have'nt signals
[Form] Fix 'invalid_message' use in multiple ChoiceType
[Form] fix some type annotations
@@ -117,7 +114,7 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
117
114
$value = newPropertyPath($value);
118
115
}
119
116
120
-
if ($valueinstanceofPropertyPath) {
117
+
if ($valueinstanceofPropertyPathInterface) {
121
118
$accessor = $this->propertyAccessor;
122
119
$value = function ($choice) use ($accessor, $value) {
123
120
// The callable may be invoked with a non-object/array value
@@ -145,14 +142,14 @@ public function createListFromLoader(ChoiceLoaderInterface $loader, $value = nul
145
142
/**
146
143
* {@inheritdoc}
147
144
*
148
-
* @param array|callable|string|PropertyPath|null $preferredChoices The preferred choices
149
-
* @param callable|string|PropertyPath|null $label The callable or path generating the choice labels
150
-
* @param callable|string|PropertyPath|null $index The callable or path generating the view indices
151
-
* @param callable|string|PropertyPath|null $groupBy The callable or path generating the group names
152
-
* @param array|callable|string|PropertyPath|null $attr The callable or path generating the HTML attributes
153
-
* @param array|callable|string|PropertyPath $labelTranslationParameters The callable or path generating the parameters used to translate the choice labels
0 commit comments