From 5cad309211bf9c15c6b27efe5a5ac260e1540886 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 5 Mar 2020 20:35:58 +0100 Subject: [PATCH] fixes Orange-Management/phpOMS#224 and fixes Orange-Management/phpOMS#212 --- Models/Navigation.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/Navigation.php b/Models/Navigation.php index 98562f0..1366305 100644 --- a/Models/Navigation.php +++ b/Models/Navigation.php @@ -42,10 +42,10 @@ class Navigation /** * Singleton instance. * - * @var \Modules\Navigation\Models\Navigation + * @var null|self * @since 1.0.0 */ - private static $instance = null; + private static ?self $instance = null; /** * Database pool. @@ -53,7 +53,7 @@ class Navigation * @var DatabasePool * @since 1.0.0 */ - private $dbPool = null; + private DatabasePool $dbPool; /** * Constructor.