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 8adf445 commit 4bbf82dCopy full SHA for 4bbf82d
src/Contracts/TasksQuery.php
@@ -75,9 +75,12 @@ public function toArray(): array
75
'from' => $this->from,
76
'limit' => $this->limit,
77
'canceledBy' => $this->formatArray($this->canceledBy),
78
- 'reverse' => null !== $this->reverse ? json_encode($this->reverse) : null,
+ 'reverse' => (null !== $this->reverse ? ($this->reverse ? 'true' : 'false') : null),
79
]
80
- ), static function ($item) { return null !== $item; }
+ ),
81
+ static function ($item) {
82
+ return null !== $item;
83
+ }
84
);
85
}
86
0 commit comments