fix after change to php 7.4

This commit is contained in:
Dennis Eichhorn 2019-08-17 14:14:51 +02:00
parent e79d60147b
commit 1db626c81e
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ class Navigation
* @var array
* @since 1.0.0
*/
private $nav = [];
private array $nav = [];
/**
* Singleton instance.

View File

@ -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.