[CORE][I18n] Fixing 'file_get_contents(): Argument #1 () must be of type string, Symfony\Component\Finder\SplFileInfo given' error by using Symfony's Finder to iterate through existing files

This commit is contained in:
2022-01-22 19:16:35 +00:00
parent 6b1c6f603e
commit e4a3438d55
5 changed files with 25 additions and 12 deletions

View File

@@ -175,7 +175,7 @@ class Favourite extends FeedController
return [
'_template' => 'collection/notes.html.twig',
'page_title' => 'Favourites feed.',
'page_title' => 'Favourites',
'notes' => $notes,
];
}