phpcs fix

This commit is contained in:
Dennis Eichhorn 2020-01-26 12:27:56 +01:00
parent d62d873d88
commit 89ce98e60c
3 changed files with 18 additions and 18 deletions

View File

@ -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 = 'Marketing';
@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module id.
*
* @var int
* @var int
* @since 1.0.0
*/
public const MODULE_ID = 1001900000;
@ -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 = [];

View File

@ -31,7 +31,7 @@ class Promotion
/**
* ID.
*
* @var int
* @var int
* @since 1.0.0
*/
protected int $id = 0;
@ -43,14 +43,14 @@ class Promotion
/**
* Name.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $name = '';
/**
* Description.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $description = '';
@ -72,7 +72,7 @@ class Promotion
/**
* Created at.
*
* @var null|\DateTime
* @var null|\DateTime
* @since 1.0.0
*/
private ?\DateTime $createdAt = null;
@ -80,7 +80,7 @@ class Promotion
/**
* Created by.
*
* @var int
* @var int
* @since 1.0.0
*/
private $createdBy = 0;
@ -169,7 +169,7 @@ class Promotion
/**
* Remove task
*
* @param int $id Id to remove.
* @param int $id id to remove
*
* @return bool
*

View File

@ -32,7 +32,7 @@ final class PromotionMapper 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 = [
@ -54,7 +54,7 @@ final class PromotionMapper extends DataMapperAbstract
/**
* Has many relation.
*
* @var array<string, array<string, null|string>>
* @var array<string, array<string, null|string>>
* @since 1.0.0
*/
protected static array $hasMany = [
@ -75,7 +75,7 @@ final class PromotionMapper extends DataMapperAbstract
/**
* Has one relation.
*
* @var array<string, array<string, string>>
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static array $ownsOne = [
@ -88,7 +88,7 @@ final class PromotionMapper extends DataMapperAbstract
/**
* Primary table.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $table = 'marketing_promotion';
@ -96,7 +96,7 @@ final class PromotionMapper extends DataMapperAbstract
/**
* Created at.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $createdAt = 'marketing_promotion_created_at';
@ -104,7 +104,7 @@ final class PromotionMapper extends DataMapperAbstract
/**
* Primary field name.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $primaryField = 'marketing_promotion_id';