We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d529b9 commit 4458e21Copy full SHA for 4458e21
src/Contracts/TasksQuery.php
@@ -22,9 +22,6 @@ class TasksQuery
22
*/
23
private ?array $canceledBy = null;
24
25
- /**
26
- * @var bool|null
27
- */
28
private ?bool $reverse = null;
29
30
/**
@@ -78,7 +75,7 @@ public function toArray(): array
78
75
'from' => $this->from,
79
76
'limit' => $this->limit,
80
77
'canceledBy' => $this->formatArray($this->canceledBy),
81
- 'reverse' => $this->reverse !== null ? json_encode($this->reverse) : null,
+ 'reverse' => null !== $this->reverse ? json_encode($this->reverse) : null,
82
]
83
), static function ($item) { return null !== $item; }
84
);
0 commit comments