diff options
Diffstat (limited to 'lib/Controller/CommandController.php')
-rw-r--r-- | lib/Controller/CommandController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/CommandController.php b/lib/Controller/CommandController.php index a64e2bc52..ab6696c59 100644 --- a/lib/Controller/CommandController.php +++ b/lib/Controller/CommandController.php @@ -52,7 +52,7 @@ class CommandController extends OCSController { public function index(): DataResponse { $commands = $this->commandService->findAll(); - $result = array_map(function(Command $command) { + $result = array_map(function (Command $command) { return $command->asArray(); }, $commands); |