phpcs fix

This commit is contained in:
Dennis Eichhorn 2020-01-26 12:27:56 +01:00
parent 1958670374
commit 345cff167c
4 changed files with 15 additions and 15 deletions

View File

@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module path. * Module path.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_PATH = __DIR__ . '/../'; public const MODULE_PATH = __DIR__ . '/../';
@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module version. * Module version.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_VERSION = '1.0.0'; public const MODULE_VERSION = '1.0.0';
@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module name. * Module name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_NAME = 'Navigation'; public const MODULE_NAME = 'Navigation';
@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Module id. * Module id.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
public const MODULE_ID = 1000500000; public const MODULE_ID = 1000500000;
@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Providing. * Providing.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $providing = [ protected static array $providing = [
@ -72,7 +72,7 @@ class Controller extends ModuleAbstract implements WebInterface
/** /**
* Dependencies. * Dependencies.
* *
* @var string[] * @var string[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $dependencies = []; protected static array $dependencies = [];

View File

@ -29,7 +29,7 @@ final class NavElementMapper extends DataMapperAbstract
/** /**
* Columns. * Columns.
* *
* @var array<string, array<string, bool|string>> * @var array<string, array<string, bool|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $columns = [ protected static array $columns = [
@ -53,7 +53,7 @@ final class NavElementMapper extends DataMapperAbstract
/** /**
* Primary table. * Primary table.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $table = 'nav'; protected static string $table = 'nav';
@ -61,7 +61,7 @@ final class NavElementMapper extends DataMapperAbstract
/** /**
* Primary field name. * Primary field name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $primaryField = 'nav_id'; protected static string $primaryField = 'nav_id';

View File

@ -34,7 +34,7 @@ class Navigation
* *
* Array of all navigation elements sorted by type->parent->id * Array of all navigation elements sorted by type->parent->id
* *
* @var array * @var array
* @since 1.0.0 * @since 1.0.0
*/ */
private array $nav = []; private array $nav = [];
@ -42,7 +42,7 @@ class Navigation
/** /**
* Singleton instance. * Singleton instance.
* *
* @var \Modules\Navigation\Models\Navigation * @var \Modules\Navigation\Models\Navigation
* @since 1.0.0 * @since 1.0.0
*/ */
private static $instance = null; private static $instance = null;
@ -50,7 +50,7 @@ class Navigation
/** /**
* Database pool. * Database pool.
* *
* @var DatabasePool * @var DatabasePool
* @since 1.0.0 * @since 1.0.0
*/ */
private $dbPool = null; private $dbPool = null;

View File

@ -32,7 +32,7 @@ class NavigationView extends View
* This is getting used in order to identify which navigation elements should get rendered. * This is getting used in order to identify which navigation elements should get rendered.
* This usually is the parent navigation id * This usually is the parent navigation id
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $navId = 0; protected int $navId = 0;
@ -40,7 +40,7 @@ class NavigationView extends View
/** /**
* Navigation. * Navigation.
* *
* @var mixed[] * @var mixed[]
* @since 1.0.0 * @since 1.0.0
*/ */
protected array $nav = []; protected array $nav = [];
@ -48,7 +48,7 @@ class NavigationView extends View
/** /**
* Parent element used for navigation. * Parent element used for navigation.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int $parent = 0; protected int $parent = 0;