phpcs fix

This commit is contained in:
Dennis Eichhorn 2020-01-26 12:27:56 +01:00
parent fef0707465
commit af2e9af685
3 changed files with 30 additions and 30 deletions

View File

@ -30,7 +30,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__ . '/../';
@ -38,7 +38,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';
@ -46,7 +46,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 = 'ProjectManagement'; public const MODULE_NAME = 'ProjectManagement';
@ -54,7 +54,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 = 1001700000; public const MODULE_ID = 1001700000;
@ -62,7 +62,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 = [];
@ -70,7 +70,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

@ -31,7 +31,7 @@ class Project
/** /**
* ID. * ID.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private int $id = 0; private int $id = 0;
@ -39,7 +39,7 @@ class Project
/** /**
* Start date. * Start date.
* *
* @var \DateTime * @var \DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
private \DateTime $start; private \DateTime $start;
@ -47,7 +47,7 @@ class Project
/** /**
* End date. * End date.
* *
* @var \DateTime * @var \DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
private \DateTime $end; private \DateTime $end;
@ -55,7 +55,7 @@ class Project
/** /**
* Estimated end date. * Estimated end date.
* *
* @var \DateTime * @var \DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
private \DateTime $endEstimated; private \DateTime $endEstimated;
@ -63,7 +63,7 @@ class Project
/** /**
* Project name. * Project name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $name = ''; private string $name = '';
@ -71,7 +71,7 @@ class Project
/** /**
* Project description. * Project description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $description = ''; private string $description = '';
@ -79,7 +79,7 @@ class Project
/** /**
* Project raw description. * Project raw description.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $descriptionRaw = ''; private string $descriptionRaw = '';
@ -87,7 +87,7 @@ class Project
/** /**
* Calendar. * Calendar.
* *
* @var int|Calendar * @var int|Calendar
* @since 1.0.0 * @since 1.0.0
*/ */
private $calendar; private $calendar;
@ -95,7 +95,7 @@ class Project
/** /**
* Current total costs. * Current total costs.
* *
* @var Money * @var Money
* @since 1.0.0 * @since 1.0.0
*/ */
private Money $costs; private Money $costs;
@ -103,7 +103,7 @@ class Project
/** /**
* Budget costs. * Budget costs.
* *
* @var Money * @var Money
* @since 1.0.0 * @since 1.0.0
*/ */
private Money $budgetCosts; private Money $budgetCosts;
@ -111,7 +111,7 @@ class Project
/** /**
* Budget earnings. * Budget earnings.
* *
* @var Money * @var Money
* @since 1.0.0 * @since 1.0.0
*/ */
private Money $budgetEarnings; private Money $budgetEarnings;
@ -119,7 +119,7 @@ class Project
/** /**
* Current total earnings. * Current total earnings.
* *
* @var Money * @var Money
* @since 1.0.0 * @since 1.0.0
*/ */
private Money $earnings; private Money $earnings;
@ -127,7 +127,7 @@ class Project
/** /**
* Progress percentage. * Progress percentage.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private int $progress = 0; private int $progress = 0;
@ -135,7 +135,7 @@ class Project
/** /**
* Progress calculation. * Progress calculation.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private int $progressType = ProgressType::MANUAL; private int $progressType = ProgressType::MANUAL;
@ -143,7 +143,7 @@ class Project
/** /**
* Media files. * Media files.
* *
* @var Media[] * @var Media[]
* @since 1.0.0 * @since 1.0.0
*/ */
private array $media = []; private array $media = [];
@ -151,7 +151,7 @@ class Project
/** /**
* Created at. * Created at.
* *
* @var \DateTime * @var \DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
private \DateTime $createdAt; private \DateTime $createdAt;
@ -159,7 +159,7 @@ class Project
/** /**
* Created by. * Created by.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private $createdBy = 0; private $createdBy = 0;
@ -167,7 +167,7 @@ class Project
/** /**
* Tasks. * Tasks.
* *
* @var Tasks[] * @var Tasks[]
* @since 1.0.0 * @since 1.0.0
*/ */
private $tasks = []; private $tasks = [];

View File

@ -32,7 +32,7 @@ final class ProjectMapper 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 = [
@ -57,7 +57,7 @@ final class ProjectMapper extends DataMapperAbstract
/** /**
* Has many relation. * Has many relation.
* *
* @var array<string, array<string, null|string>> * @var array<string, array<string, null|string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $hasMany = [ protected static array $hasMany = [
@ -78,7 +78,7 @@ final class ProjectMapper extends DataMapperAbstract
/** /**
* Has one relation. * Has one relation.
* *
* @var array<string, array<string, string>> * @var array<string, array<string, string>>
* @since 1.0.0 * @since 1.0.0
*/ */
protected static array $ownsOne = [ protected static array $ownsOne = [
@ -91,7 +91,7 @@ final class ProjectMapper extends DataMapperAbstract
/** /**
* Primary table. * Primary table.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $table = 'projectmanagement_project'; protected static string $table = 'projectmanagement_project';
@ -99,7 +99,7 @@ final class ProjectMapper extends DataMapperAbstract
/** /**
* Created at. * Created at.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $createdAt = 'projectmanagement_project_created_at'; protected static string $createdAt = 'projectmanagement_project_created_at';
@ -107,7 +107,7 @@ final class ProjectMapper extends DataMapperAbstract
/** /**
* Primary field name. * Primary field name.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
protected static string $primaryField = 'projectmanagement_project_id'; protected static string $primaryField = 'projectmanagement_project_id';