@@ -61,7 +61,7 @@ |
||
61 | 61 | ) { |
62 | 62 | $this->configuration = $configuration; |
63 | 63 | $this->view = $view; |
64 | - $this->options = array_merge(['text' => ''], $options); |
|
64 | + $this->options = array_merge(['text' => ''], $options); |
|
65 | 65 | $this->buttonProvider = $buttonProvider; |
66 | 66 | } |
67 | 67 |
@@ -45,20 +45,20 @@ |
||
45 | 45 | public function getFactories(): array |
46 | 46 | { |
47 | 47 | return [ |
48 | - 'dashboard.presets' => [ static::class, 'getDashboardPresets' ], |
|
49 | - 'dashboard.widgetGroups' => [ static::class, 'getWidgetGroups' ], |
|
50 | - 'dashboard.widgets' => [ static::class, 'getWidgets' ], |
|
48 | + 'dashboard.presets' => [static::class, 'getDashboardPresets'], |
|
49 | + 'dashboard.widgetGroups' => [static::class, 'getWidgetGroups'], |
|
50 | + 'dashboard.widgets' => [static::class, 'getWidgets'], |
|
51 | 51 | ]; |
52 | 52 | } |
53 | 53 | |
54 | 54 | public function getExtensions(): array |
55 | 55 | { |
56 | 56 | return [ |
57 | - DashboardPresetRegistry::class => [ static::class, 'configureDashboardPresetRegistry' ], |
|
58 | - WidgetGroupRegistry::class => [ static::class, 'configureWidgetGroupRegistry' ], |
|
59 | - 'dashboard.presets' => [ static::class, 'configureDashboardPresets' ], |
|
60 | - 'dashboard.widgetGroups' => [ static::class, 'configureWidgetGroups' ], |
|
61 | - 'dashboard.widgets' => [ static::class, 'configureWidgets' ] |
|
57 | + DashboardPresetRegistry::class => [static::class, 'configureDashboardPresetRegistry'], |
|
58 | + WidgetGroupRegistry::class => [static::class, 'configureWidgetGroupRegistry'], |
|
59 | + 'dashboard.presets' => [static::class, 'configureDashboardPresets'], |
|
60 | + 'dashboard.widgetGroups' => [static::class, 'configureWidgetGroups'], |
|
61 | + 'dashboard.widgets' => [static::class, 'configureWidgets'] |
|
62 | 62 | ] + parent::getExtensions(); |
63 | 63 | } |
64 | 64 |