From d343833c1a8212a945fcd8ea69db26a712cb8010 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 27 Nov 2020 22:56:15 +0100 Subject: [PATCH] phpstan fixes --- Theme/Backend/Components/Comment/ListView.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Theme/Backend/Components/Comment/ListView.php b/Theme/Backend/Components/Comment/ListView.php index e6995c5..51f3529 100644 --- a/Theme/Backend/Components/Comment/ListView.php +++ b/Theme/Backend/Components/Comment/ListView.php @@ -14,6 +14,7 @@ declare(strict_types=1); namespace Modules\Comments\Theme\Backend\Components\Comment; +use Modules\Comments\Models\CommentList; use phpOMS\Localization\L11nManager; use phpOMS\Message\RequestAbstract; use phpOMS\Message\ResponseAbstract; @@ -36,7 +37,7 @@ class ListView extends View * @var null|CommentList * @since 1.0.0 */ - protected $commentList = null; + protected ?CommentList $commentList = null; /** * {@inheritdoc}