Fix phpstan reported errors

This commit is contained in:
DariusIII
2026-02-10 16:16:29 +01:00
parent 11c9eaacab
commit c5e55dd562
188 changed files with 881 additions and 1010 deletions
+3 -3
View File
@@ -56,9 +56,9 @@ class ContentController extends BasePageController
$content = $this->getFrontPageContent()->all();
$index = $this->getIndexContent();
$isFront = true;
$meta_title = $index?->title ?? 'Contents page';
$meta_keywords = $index?->metakeywords ?? 'contents';
$meta_description = $index?->metadescription ?? 'This is the contents page.';
$meta_title = $index->title ?? 'Contents page';
$meta_keywords = $index->metakeywords ?? 'contents';
$meta_description = $index->metadescription ?? 'This is the contents page.';
}
if (empty($content)) {