phpcs fix

This commit is contained in:
Dennis Eichhorn 2020-01-26 12:27:56 +01:00
parent c7a8dc5ded
commit 93a8f79ed7
3 changed files with 23 additions and 23 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 = 'News';
@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module id.
*
* @var int
* @var int
* @since 1.0.0
*/
public const MODULE_ID = 1000600000;
@ -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 NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Article ID.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $id = 0;
@ -39,7 +39,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Title.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $title = '';
@ -47,7 +47,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Content.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $content = '';
@ -55,7 +55,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Unparsed.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $plain = '';
@ -63,7 +63,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* News type.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $type = NewsType::ARTICLE;
@ -71,7 +71,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* News status.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $status = NewsStatus::DRAFT;
@ -79,7 +79,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Language.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $language = ISO639x1Enum::_EN;
@ -87,7 +87,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Created.
*
* @var \DateTime
* @var \DateTime
* @since 1.0.0
*/
private \DateTime $createdAt;
@ -95,7 +95,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Creator.
*
* @var int
* @var int
* @since 1.0.0
*/
private $createdBy = 0;
@ -103,7 +103,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Publish.
*
* @var \DateTime
* @var \DateTime
* @since 1.0.0
*/
private \DateTime $publish;
@ -111,7 +111,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Featured.
*
* @var bool
* @var bool
* @since 1.0.0
*/
private bool $featured = false;
@ -119,7 +119,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/**
* Badge.
*
* @var array
* @var array
* @since 1.0.0
*/
private array $badges = [];

View File

@ -30,7 +30,7 @@ final class NewsArticleMapper 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 = [
@ -50,7 +50,7 @@ final class NewsArticleMapper extends DataMapperAbstract
/**
* Belongs to.
*
* @var array<string, array<string, string>>
* @var array<string, array<string, string>>
* @since 1.0.0
*/
protected static array $belongsTo = [
@ -63,7 +63,7 @@ final class NewsArticleMapper extends DataMapperAbstract
/**
* Primary table.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $table = 'news';
@ -71,7 +71,7 @@ final class NewsArticleMapper extends DataMapperAbstract
/**
* Primary field name.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $primaryField = 'news_id';
@ -79,7 +79,7 @@ final class NewsArticleMapper extends DataMapperAbstract
/**
* Created at.
*
* @var string
* @var string
* @since 1.0.0
*/
protected static string $createdAt = 'news_created_at';