From 683eb685bdad4a6d7b67f39531b2ef15c3b6c105 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 10 Aug 2023 23:22:18 -0400 Subject: [PATCH] Fix deprecated usage of Table::get() --- src/Controller/RequestsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }