mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-11 16:18:42 +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
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $nav = [];
|
||||
private array $nav = [];
|
||||
|
||||
/**
|
||||
* Singleton instance.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user