mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-02-14 07:48:41 +00:00
fix after change to php 7.4
This commit is contained in:
parent
e79d60147b
commit
1db626c81e
|
|
@ -38,7 +38,7 @@ class Navigation
|
||||||
* @var array
|
* @var array
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $nav = [];
|
private array $nav = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Singleton instance.
|
* Singleton instance.
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class NavigationView extends View
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $navId = 0;
|
protected int $navId = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation.
|
* Navigation.
|
||||||
|
|
@ -44,7 +44,7 @@ class NavigationView extends View
|
||||||
* @var mixed[]
|
* @var mixed[]
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $nav = [];
|
protected array $nav = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent element used for navigation.
|
* Parent element used for navigation.
|
||||||
|
|
@ -52,7 +52,7 @@ class NavigationView extends View
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $parent = 0;
|
protected int $parent = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get navigation Id.
|
* Get navigation Id.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user