From c8a7f4406107a07aba8c695e7bffe0d1529f6ae2 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/Department.php | 14 +++++++------- Models/DepartmentMapper.php | 8 ++++---- Models/Position.php | 14 +++++++------- Models/PositionMapper.php | 8 ++++---- Models/Unit.php | 12 ++++++------ Models/UnitMapper.php | 8 ++++---- 7 files changed, 38 insertions(+), 38 deletions(-) diff --git a/Controller/Controller.php b/Controller/Controller.php index d1061ac..be0b5c2 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -30,7 +30,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../'; @@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'Organization'; @@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1004700000; @@ -62,7 +62,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -70,7 +70,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = []; diff --git a/Models/Department.php b/Models/Department.php index dbf9ab8..be9b50e 100644 --- a/Models/Department.php +++ b/Models/Department.php @@ -29,7 +29,7 @@ class Department implements ArrayableInterface, \JsonSerializable /** * Article ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -37,7 +37,7 @@ class Department implements ArrayableInterface, \JsonSerializable /** * Name. * - * @var string + * @var string * @since 1.0.0 */ protected string $name = ''; @@ -45,7 +45,7 @@ class Department implements ArrayableInterface, \JsonSerializable /** * Parent * - * @var mixed + * @var mixed * @since 1.0.0 */ protected $parent = null; @@ -53,7 +53,7 @@ class Department implements ArrayableInterface, \JsonSerializable /** * Status * - * @var int + * @var int * @since 1.0.0 */ protected int $status = Status::INACTIVE; @@ -61,7 +61,7 @@ class Department implements ArrayableInterface, \JsonSerializable /** * Unit this department belongs to * - * @var mixed + * @var mixed * @since 1.0.0 */ protected $unit = 1; @@ -69,7 +69,7 @@ class Department implements ArrayableInterface, \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ protected string $description = ''; @@ -77,7 +77,7 @@ class Department implements ArrayableInterface, \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ protected string $descriptionRaw = ''; diff --git a/Models/DepartmentMapper.php b/Models/DepartmentMapper.php index f783584..1eb96c2 100644 --- a/Models/DepartmentMapper.php +++ b/Models/DepartmentMapper.php @@ -29,7 +29,7 @@ final class DepartmentMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -45,7 +45,7 @@ final class DepartmentMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -62,7 +62,7 @@ final class DepartmentMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'organization_department'; @@ -70,7 +70,7 @@ final class DepartmentMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'organization_department_id'; diff --git a/Models/Position.php b/Models/Position.php index fca7df8..9565905 100644 --- a/Models/Position.php +++ b/Models/Position.php @@ -29,7 +29,7 @@ class Position implements ArrayableInterface, \JsonSerializable /** * Article ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -37,7 +37,7 @@ class Position implements ArrayableInterface, \JsonSerializable /** * Name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -45,7 +45,7 @@ class Position implements ArrayableInterface, \JsonSerializable /** * Parent * - * @var mixed + * @var mixed * @since 1.0.0 */ private $parent = null; @@ -53,7 +53,7 @@ class Position implements ArrayableInterface, \JsonSerializable /** * Department * - * @var mixed + * @var mixed * @since 1.0.0 */ private $department = null; @@ -61,7 +61,7 @@ class Position implements ArrayableInterface, \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; @@ -69,7 +69,7 @@ class Position implements ArrayableInterface, \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $descriptionRaw = ''; @@ -77,7 +77,7 @@ class Position implements ArrayableInterface, \JsonSerializable /** * Status * - * @var int + * @var int * @since 1.0.0 */ protected int $status = Status::INACTIVE; diff --git a/Models/PositionMapper.php b/Models/PositionMapper.php index ee97c0a..da0bfb9 100644 --- a/Models/PositionMapper.php +++ b/Models/PositionMapper.php @@ -29,7 +29,7 @@ final class PositionMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -45,7 +45,7 @@ final class PositionMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -62,7 +62,7 @@ final class PositionMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'organization_position'; @@ -70,7 +70,7 @@ final class PositionMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'organization_position_id'; diff --git a/Models/Unit.php b/Models/Unit.php index 1bac1ba..a5591d9 100644 --- a/Models/Unit.php +++ b/Models/Unit.php @@ -29,7 +29,7 @@ class Unit implements ArrayableInterface, \JsonSerializable /** * Article ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -37,7 +37,7 @@ class Unit implements ArrayableInterface, \JsonSerializable /** * Name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -45,7 +45,7 @@ class Unit implements ArrayableInterface, \JsonSerializable /** * Parent * - * @var mixed + * @var mixed * @since 1.0.0 */ private $parent = null; @@ -53,7 +53,7 @@ class Unit implements ArrayableInterface, \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; @@ -61,7 +61,7 @@ class Unit implements ArrayableInterface, \JsonSerializable /** * Description. * - * @var string + * @var string * @since 1.0.0 */ protected string $descriptionRaw = ''; @@ -69,7 +69,7 @@ class Unit implements ArrayableInterface, \JsonSerializable /** * Status * - * @var int + * @var int * @since 1.0.0 */ protected int $status = Status::INACTIVE; diff --git a/Models/UnitMapper.php b/Models/UnitMapper.php index 44647b5..54f4b69 100644 --- a/Models/UnitMapper.php +++ b/Models/UnitMapper.php @@ -29,7 +29,7 @@ final class UnitMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -44,7 +44,7 @@ final class UnitMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -57,7 +57,7 @@ final class UnitMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'organization_unit'; @@ -65,7 +65,7 @@ final class UnitMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'organization_unit_id';