mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Fix phpstan reported errors
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user