src/Viserio/Component/Pagination/AbstractPaginator.php
public function setPath(string $path): PaginatorContract
    {
        $this->path = $path !== '/' ? \rtrim($path, '/') : $path;

        return $this;
    }
public function setPath(string $path): PaginatorContract
    {
        $this->path = $path !== '/' ? \rtrim($path, '/') : $path;

        return $this;
    }
{@inheritdoc}