From 345cff167c3c2cf391ce02d5812fae7e4ac6b15a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 26 Jan 2020 12:27:56 +0100 Subject: [PATCH] phpcs fix --- Controller/Controller.php | 12 ++++++------ Models/NavElementMapper.php | 6 +++--- Models/Navigation.php | 6 +++--- Views/NavigationView.php | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Controller/Controller.php b/Controller/Controller.php index 138af95..a1026d8 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -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 = []; diff --git a/Models/NavElementMapper.php b/Models/NavElementMapper.php index be9aa1b..b55345c 100644 --- a/Models/NavElementMapper.php +++ b/Models/NavElementMapper.php @@ -29,7 +29,7 @@ final class NavElementMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @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'; diff --git a/Models/Navigation.php b/Models/Navigation.php index 4dfa3d3..98562f0 100644 --- a/Models/Navigation.php +++ b/Models/Navigation.php @@ -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; diff --git a/Views/NavigationView.php b/Views/NavigationView.php index 0b2b2cf..7bdc3fe 100644 --- a/Views/NavigationView.php +++ b/Views/NavigationView.php @@ -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;