Done a round of phpstan fixes

This commit is contained in:
Dan Brown
2021-11-06 00:32:01 +00:00
parent 5c6a6b50a0
commit 8d7c8ac8bf
24 changed files with 72 additions and 84 deletions

View File

@@ -236,7 +236,7 @@ class ImageRepo
->get(['id', 'name', 'slug', 'book_id']);
foreach ($pages as $page) {
$page->url = $page->getUrl();
$page->setAttribute('url', $page->getUrl());
}
return $pages->all();