Skip to content

Commit 683eb68

Browse files
committed
Fix deprecated usage of Table::get()
1 parent c721c94 commit 683eb68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controller/RequestsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function beforeRender(EventInterface $event): void
5757
*/
5858
public function view(?string $id = null): void
5959
{
60-
$toolbar = $this->Requests->get($id, ['contain' => 'Panels']);
60+
$toolbar = $this->Requests->get($id, contain: 'Panels');
6161
$this->set('toolbar', $toolbar);
6262
}
6363
}

0 commit comments

Comments
 (0)