diff --git a/Models/Navigation.php b/Models/Navigation.php index c8d8e61..29de43c 100644 --- a/Models/Navigation.php +++ b/Models/Navigation.php @@ -38,7 +38,7 @@ class Navigation * @var array * @since 1.0.0 */ - private $nav = []; + private array $nav = []; /** * Singleton instance. diff --git a/Views/NavigationView.php b/Views/NavigationView.php index 10c68d6..4915e54 100644 --- a/Views/NavigationView.php +++ b/Views/NavigationView.php @@ -36,7 +36,7 @@ class NavigationView extends View * @var int * @since 1.0.0 */ - protected $navId = 0; + protected int $navId = 0; /** * Navigation. @@ -44,7 +44,7 @@ class NavigationView extends View * @var mixed[] * @since 1.0.0 */ - protected $nav = []; + protected array $nav = []; /** * Parent element used for navigation. @@ -52,7 +52,7 @@ class NavigationView extends View * @var int * @since 1.0.0 */ - protected $parent = 0; + protected int $parent = 0; /** * Get navigation Id.