@@ -108,7 +108,7 @@ |
||
108 | 108 | */ |
109 | 109 | protected function checkPermissionOfWidgets(array $widgets): array |
110 | 110 | { |
111 | - return array_filter($widgets, function ($identifier) { |
|
111 | + return array_filter($widgets, function($identifier) { |
|
112 | 112 | return $this->getBackendUser()->check('available_widgets', $identifier); |
113 | 113 | }, ARRAY_FILTER_USE_KEY); |
114 | 114 | } |