|
@@ -133,7 +133,7 @@ |
|
|
block discarded – undo |
|
133
|
133
|
throw new InvalidWidgetClassException('Class "'.$widgetClass.'" must extend "Arrilot\Widgets\AbstractWidget" class'); |
|
134
|
134
|
} |
|
135
|
135
|
|
|
136
|
|
- $this->widget = $this->app->make( $widgetClass, [ 'config' => $this->widgetConfig ] ); |
|
|
136
|
+ $this->widget = $this->app->make($widgetClass, ['config' => $this->widgetConfig]); |
|
137
|
137
|
|
|
138
|
138
|
if (static::$allowOnlyWidgetsWithDisabledEncryption && $this->widget->encryptParams) { |
|
139
|
139
|
throw new EncryptException('Widget "'.$widgetClass.'" was not called properly'); |
Please login to merge, or discard this patch.