Skip to content

Commit

Permalink
phpstan fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Jun 1, 2024
1 parent 5f06dab commit 16c0162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/PowerGridServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private function macros(): void

if (class_exists(\Laravel\Scout\Builder::class)) {
Builder::macro('paginateSafe', function ($perPage = null, $pageName = 'page', $page = null) {
$engine = $this->engine();
$engine = $this->engine(); // @phpstan-ignore-line

if ($engine instanceof PaginatesEloquentModels) {
return $engine->paginate($this, $perPage, $page)->appends('query', $this->query);
Expand Down

0 comments on commit 16c0162

Please sign in to comment.