Skip to content

Commit

Permalink
Fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Mar 27, 2023
1 parent c78d6b2 commit f08e837
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/UI/DataGrid/OrderParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f08e837

Please sign in to comment.