Skip to content

Commit c99f34d

Browse files
Style fixes (solariumphp#1118)
1 parent 7455df7 commit c99f34d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/QueryType/Select/Query/FilterQuery.php

+2
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ public function setCache(bool $cache): self
165165
public function getCache(): bool
166166
{
167167
$cache = $this->getLocalParameters()->getCache();
168+
168169
// The default is to cache the filter Query.
169170
return 'false' !== reset($cache);
170171
}
@@ -191,6 +192,7 @@ public function setCost(int $cost): self
191192
public function getCost(): int
192193
{
193194
$cost = $this->getLocalParameters()->getCost();
195+
194196
// The default cost for filter queries is 0.
195197
return (int) reset($cost);
196198
}

src/QueryType/Stream/ExpressionBuilder.php

+1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ public function __call(string $name, array $arguments): string
264264
if (\is_string($value)) {
265265
$value = trim($value);
266266
}
267+
267268
// Eliminate empty string arguments.
268269
return '' !== $value;
269270
})).')';

0 commit comments

Comments
 (0)