Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Z3d0X committed Jan 1, 2025
1 parent fadd639 commit d4fc619
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Services/PageRoutesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,9 @@ protected function getIdToUrisMapping(): array
->with('parent')
->get()
->toBase()
->mapWithKeys(function (Page $page): array {
->mapWithKeys(function (Page $page): array { //@phpstan-ignore-line
// Note that this also has the benefits of computing
// the page's local caches.
// @phpstan-ignore-next-line
return [$page->id => $page->getAllUrls()];
})
->all();
Expand Down

0 comments on commit d4fc619

Please sign in to comment.