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
// BC to be removed and replace with type hints in 4.0
76
+
if ($managerinstanceof ChoiceListFactoryInterface) {
77
+
@trigger_error(sprintf('Passing a ChoiceListFactoryInterface to %s is deprecated since version 3.1 and will no longer be supported in 4.0. You should either call "%s::loadChoiceList" or override it to return a ChoiceListInterface.', __CLASS__, __CLASS__));
// We can safely invoke the {@link ChoiceLoaderInterface} assuming it has the list
84
+
// in cache when the lazy list is already loaded
85
+
if ($this->loadedList !== $this->loader->loadChoiceList($this->value)) {
86
+
@trigger_error(sprintf('Caching the choice list in %s is deprecated since 3.1 and will not happen in 4.0. Cache the list in the %s instead.', __CLASS__, ChoiceLoaderInterface::class));
if ($this->loadedList !== $this->loader->loadChoiceList($this->value)) {
109
+
@trigger_error(sprintf('Caching the choice list in %s is deprecated since 3.1 and will not happen in 4.0. Cache the list in the %s instead.', __CLASS__, ChoiceLoaderInterface::class));
if ($this->loadedList !== $this->loader->loadChoiceList($this->value)) {
132
+
@trigger_error(sprintf('Caching the choice list in %s is deprecated since 3.1 and will not happen in 4.0. Cache the list in the %s instead.', __CLASS__, ChoiceLoaderInterface::class));
if ($this->loadedList !== $this->loader->loadChoiceList($this->value)) {
155
+
@trigger_error(sprintf('Caching the choice list in %s is deprecated since 3.1 and will not happen in 4.0. Cache the list in the %s instead.', __CLASS__, ChoiceLoaderInterface::class));
if ($this->loadedList !== $this->loader->loadChoiceList($this->value)) {
178
+
@trigger_error(sprintf('Caching the choice list in %s is deprecated since 3.1 and will not happen in 4.0. Cache the list in the %s instead.', __CLASS__, ChoiceLoaderInterface::class));
if ($this->loadedList !== $this->loader->loadChoiceList($this->value)) {
195
+
@trigger_error(sprintf('Caching the choice list in %s is deprecated since 3.1 and will not happen in 4.0. Cache the list in the %s instead.', __CLASS__, ChoiceLoaderInterface::class));
0 commit comments