Release 2.20.0 (#4987)
This commit is contained in:
@@ -41,7 +41,7 @@ class WidgetService
|
||||
public function getWidget(string $id): WidgetInterface
|
||||
{
|
||||
if (!$this->hasWidget($id)) {
|
||||
throw new \InvalidArgumentException(sprintf('Cannot find widget: %s', $id));
|
||||
throw new \InvalidArgumentException(\sprintf('Cannot find widget: %s', $id));
|
||||
}
|
||||
|
||||
return $this->widgets[$id];
|
||||
|
||||
Reference in New Issue
Block a user