diff --git a/src/Controller/RequestsController.php b/src/Controller/RequestsController.php index f84fc671b..8493747ac 100644 --- a/src/Controller/RequestsController.php +++ b/src/Controller/RequestsController.php @@ -57,7 +57,7 @@ public function beforeRender(EventInterface $event): void */ public function view(?string $id = null): void { - $toolbar = $this->Requests->get($id, ['contain' => 'Panels']); + $toolbar = $this->Requests->get($id, contain: 'Panels'); $this->set('toolbar', $toolbar); } }