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. * 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 = 'News'; public const MODULE_NAME = 'News';
@ -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 = 1000600000; public const MODULE_ID = 1000600000;
@ -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 NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Article ID. * Article 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 NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Title. * Title.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $title = ''; private string $title = '';
@ -47,7 +47,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Content. * Content.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $content = ''; private string $content = '';
@ -55,7 +55,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Unparsed. * Unparsed.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $plain = ''; private string $plain = '';
@ -63,7 +63,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* News type. * News type.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private int $type = NewsType::ARTICLE; private int $type = NewsType::ARTICLE;
@ -71,7 +71,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* News status. * News status.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private int $status = NewsStatus::DRAFT; private int $status = NewsStatus::DRAFT;
@ -79,7 +79,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Language. * Language.
* *
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private string $language = ISO639x1Enum::_EN; private string $language = ISO639x1Enum::_EN;
@ -87,7 +87,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Created. * Created.
* *
* @var \DateTime * @var \DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
private \DateTime $createdAt; private \DateTime $createdAt;
@ -95,7 +95,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Creator. * Creator.
* *
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private $createdBy = 0; private $createdBy = 0;
@ -103,7 +103,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Publish. * Publish.
* *
* @var \DateTime * @var \DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
private \DateTime $publish; private \DateTime $publish;
@ -111,7 +111,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Featured. * Featured.
* *
* @var bool * @var bool
* @since 1.0.0 * @since 1.0.0
*/ */
private bool $featured = false; private bool $featured = false;
@ -119,7 +119,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
/** /**
* Badge. * Badge.
* *
* @var array * @var array
* @since 1.0.0 * @since 1.0.0
*/ */
private array $badges = []; private array $badges = [];

View File

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