mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-29 00:28:40 +00:00
phpcs fix
This commit is contained in:
parent
1958670374
commit
345cff167c
|
|
@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module path.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_PATH = __DIR__ . '/../';
|
||||
|
|
@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module version.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_VERSION = '1.0.0';
|
||||
|
|
@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module name.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_NAME = 'Navigation';
|
||||
|
|
@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module id.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_ID = 1000500000;
|
||||
|
|
@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Providing.
|
||||
*
|
||||
* @var string[]
|
||||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $providing = [
|
||||
|
|
@ -72,7 +72,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Dependencies.
|
||||
*
|
||||
* @var string[]
|
||||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $dependencies = [];
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ final class NavElementMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Columns.
|
||||
*
|
||||
* @var array<string, array<string, bool|string>>
|
||||
* @var array<string, array<string, bool|string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $columns = [
|
||||
|
|
@ -53,7 +53,7 @@ final class NavElementMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Primary table.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $table = 'nav';
|
||||
|
|
@ -61,7 +61,7 @@ final class NavElementMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Primary field name.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $primaryField = 'nav_id';
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class Navigation
|
|||
*
|
||||
* Array of all navigation elements sorted by type->parent->id
|
||||
*
|
||||
* @var array
|
||||
* @var array
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private array $nav = [];
|
||||
|
|
@ -42,7 +42,7 @@ class Navigation
|
|||
/**
|
||||
* Singleton instance.
|
||||
*
|
||||
* @var \Modules\Navigation\Models\Navigation
|
||||
* @var \Modules\Navigation\Models\Navigation
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static $instance = null;
|
||||
|
|
@ -50,7 +50,7 @@ class Navigation
|
|||
/**
|
||||
* Database pool.
|
||||
*
|
||||
* @var DatabasePool
|
||||
* @var DatabasePool
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $dbPool = null;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class NavigationView extends View
|
|||
* This is getting used in order to identify which navigation elements should get rendered.
|
||||
* This usually is the parent navigation id
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected int $navId = 0;
|
||||
|
|
@ -40,7 +40,7 @@ class NavigationView extends View
|
|||
/**
|
||||
* Navigation.
|
||||
*
|
||||
* @var mixed[]
|
||||
* @var mixed[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected array $nav = [];
|
||||
|
|
@ -48,7 +48,7 @@ class NavigationView extends View
|
|||
/**
|
||||
* Parent element used for navigation.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected int $parent = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user