Skip to content

Commit 8c3d1f9

Browse files
authored
Merge pull request #205 from mariopro/master
Fixes deprecated the get() Method according to what´s new since Symfony 7.4 - Request Class Improvements
2 parents f53cbbd + 7bdb907 commit 8c3d1f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/DataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function __invoke(): mixed
183183
public function render(?string $view = null, array $data = [], array $mergeData = [])
184184
{
185185
/** @var string $action */
186-
$action = $this->request()->get('action');
186+
$action = $this->request()->action;
187187
$actionMethod = $action === 'print' ? 'printPreview' : $action;
188188

189189
if (in_array($action, $this->actions) && method_exists($this, $actionMethod)) {

0 commit comments

Comments
 (0)