From b9970311d0e39f655df315b389c38d2e20499aac Mon Sep 17 00:00:00 2001 From: Jan Henckens Date: Mon, 29 Jan 2024 19:22:53 +0100 Subject: [PATCH] And again --- src/services/ElementService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }