Skip to content

Commit d43feca

Browse files
committed
Fix CS
1 parent aabe2e1 commit d43feca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Endpoints/Indexes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public function getTasks(?TasksQuery $options = null): TasksResults
171171
{
172172
$options = $options ?? new TasksQuery();
173173

174-
if ($options->getIndexUids() !== []) {
174+
if ([] !== $options->getIndexUids()) {
175175
$options->setIndexUids([$this->uid, ...$options->getIndexUids()]);
176176
} else {
177177
$options->setIndexUids([$this->uid]);

src/Http/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ private function execute(RequestInterface $request, array $headers = [])
159159

160160
private function buildQueryString(array $queryParams = []): string
161161
{
162-
return $queryParams !== [] ? '?'.http_build_query($queryParams) : '';
162+
return [] !== $queryParams ? '?'.http_build_query($queryParams) : '';
163163
}
164164

165165
/**

0 commit comments

Comments
 (0)