diff --git a/src/services/ElementService.php b/src/services/ElementService.php index 4c505df..4c009df 100644 --- a/src/services/ElementService.php +++ b/src/services/ElementService.php @@ -11,7 +11,7 @@ class ElementService extends Component public function getEditableExports(User $user): ?array { $allExports = ExportElement::find()->all(); - return array_filter($allExports, function ($export) use ($user) { + return array_filter($allExports, function($export) use ($user) { if ($export->canView($user)) { return true; }