mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
Done a round of phpstan fixes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user