Commit 3f6529c4 authored by Guy Thouret's avatar Guy Thouret

(chore) Linting of recents

1 merge request!235WIP: Boost Campaigns (&24)
Pipeline #88337056 failed with stages
in 14 minutes and 9 seconds
......@@ -24,8 +24,9 @@ abstract class Api implements \Minds\Interfaces\Api
$lastHeader = end($this->accessControlAllowHeaders);
foreach ($this->accessControlAllowHeaders as $header) {
$output .= $header;
if ($header !== $lastHeader)
if ($header !== $lastHeader) {
$output .= ",";
}
}
return $output;
......
......@@ -51,8 +51,9 @@ class BoostViewsDaily
protected function query(): void
{
if (!empty($this->dailyViews))
if (!empty($this->dailyViews)) {
return;
}
$prepared = new Search();
$prepared->query($this->buildQuery());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment