$this of type Zenstruck\Porpaginas\ResultPaginator is incompatible with the type Zenstruck\Porpaginas\Result expected by parameter $result of Zenstruck\Porpaginas\Pager::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
12
return new Pager(/** @scrutinizer ignore-type */ $this, $page, $limit);