From f08e83733afaa4440cfa11c522abc2cd59464f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Mon, 27 Mar 2023 02:36:15 +0200 Subject: [PATCH] Fix coding style --- src/UI/DataGrid/OrderParameter.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/UI/DataGrid/OrderParameter.php b/src/UI/DataGrid/OrderParameter.php index dfbfa43..75e7016 100644 --- a/src/UI/DataGrid/OrderParameter.php +++ b/src/UI/DataGrid/OrderParameter.php @@ -5,15 +5,11 @@ final class OrderParameter { - /** @phpstan-var DataGrid::Order* */ - private string $direction; - /** * @phpstan-param DataGrid::Order* $direction */ - public function __construct(private readonly string $column, string $direction) + public function __construct(private readonly string $column, private readonly string $direction) { - $this->direction = $direction; } public function getColumn(): string