Skip to content

Commit

Permalink
Run lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Strift committed Dec 4, 2024
1 parent 7d529b9 commit 4458e21
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Contracts/TasksQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ class TasksQuery
*/
private ?array $canceledBy = null;

/**
* @var bool|null
*/
private ?bool $reverse = null;

/**
Expand Down Expand Up @@ -78,7 +75,7 @@ public function toArray(): array
'from' => $this->from,
'limit' => $this->limit,
'canceledBy' => $this->formatArray($this->canceledBy),
'reverse' => $this->reverse !== null ? json_encode($this->reverse) : null,
'reverse' => null !== $this->reverse ? json_encode($this->reverse) : null,
]
), static function ($item) { return null !== $item; }
);
Expand Down

0 comments on commit 4458e21

Please sign in to comment.