Release 2.20.0 (#4987)
This commit is contained in:
@@ -37,7 +37,7 @@ final class WidgetExtension implements RuntimeExtensionInterface
|
||||
|
||||
if (\is_string($widget)) {
|
||||
if (!$this->service->hasWidget($widget)) {
|
||||
throw new \InvalidArgumentException(sprintf('Unknown widget "%s" requested', $widget));
|
||||
throw new \InvalidArgumentException(\sprintf('Unknown widget "%s" requested', $widget));
|
||||
}
|
||||
|
||||
$widget = $this->service->getWidget($widget);
|
||||
|
||||
Reference in New Issue
Block a user