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

(chore) Linting of recents

parent f1b3e81c
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -24,9 +24,10 @@ abstract class Api implements \Minds\Interfaces\Api
        $lastHeader = end($this->accessControlAllowHeaders);
        $lastHeader = end($this->accessControlAllowHeaders);
        foreach ($this->accessControlAllowHeaders as $header) {
        foreach ($this->accessControlAllowHeaders as $header) {
            $output .= $header;
            $output .= $header;
            if ($header !== $lastHeader)
            if ($header !== $lastHeader) {
                $output .= ",";
                $output .= ",";
            }
            }
        }


        return $output;
        return $output;
    }
    }
+2 −1
Original line number Original line Diff line number Diff line
@@ -51,8 +51,9 @@ class BoostViewsDaily


    protected function query(): void
    protected function query(): void
    {
    {
        if (!empty($this->dailyViews))
        if (!empty($this->dailyViews)) {
            return;
            return;
        }


        $prepared = new Search();
        $prepared = new Search();
        $prepared->query($this->buildQuery());
        $prepared->query($this->buildQuery());