From 6f286f9e599c80810b3f02e2507e12c09eea3825 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/EditorDoc.php | 14 +++++++------- Models/EditorDocMapper.php | 10 +++++----- Theme/Backend/Components/Editor/BaseView.php | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Controller/Controller.php b/Controller/Controller.php index 32cb807..daed224 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 = 'Editor'; @@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1005300000; @@ -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/EditorDoc.php b/Models/EditorDoc.php index 1901ac1..cf9a24f 100644 --- a/Models/EditorDoc.php +++ b/Models/EditorDoc.php @@ -29,7 +29,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable /** * Article ID. * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -37,7 +37,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable /** * Title. * - * @var string + * @var string * @since 1.0.0 */ private string $title = ''; @@ -45,7 +45,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable /** * Content. * - * @var string + * @var string * @since 1.0.0 */ private string $content = ''; @@ -53,7 +53,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable /** * Unparsed. * - * @var string + * @var string * @since 1.0.0 */ private string $plain = ''; @@ -61,7 +61,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable /** * Doc path for organizing. * - * @var string + * @var string * @since 1.0.0 */ private string $path = ''; @@ -69,7 +69,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable /** * Created. * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ private \DateTime $createdAt; @@ -77,7 +77,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable /** * Creator. * - * @var int + * @var int * @since 1.0.0 */ private $createdBy = 0; diff --git a/Models/EditorDocMapper.php b/Models/EditorDocMapper.php index 52d1fcc..862664b 100644 --- a/Models/EditorDocMapper.php +++ b/Models/EditorDocMapper.php @@ -30,7 +30,7 @@ final class EditorDocMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -46,7 +46,7 @@ final class EditorDocMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -59,7 +59,7 @@ final class EditorDocMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'editor_doc'; @@ -67,7 +67,7 @@ final class EditorDocMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'editor_doc_id'; @@ -75,7 +75,7 @@ final class EditorDocMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'editor_doc_created_at'; diff --git a/Theme/Backend/Components/Editor/BaseView.php b/Theme/Backend/Components/Editor/BaseView.php index bfca71b..49d4e6b 100644 --- a/Theme/Backend/Components/Editor/BaseView.php +++ b/Theme/Backend/Components/Editor/BaseView.php @@ -34,7 +34,7 @@ class BaseView extends View /** * Editor id * - * @var string + * @var string * @since 1.0.0 */ private $id = '';