From f521df0def16dbd9ed2397ec2f77a9010c2750c2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 28 Dec 2018 19:13:17 +0100 Subject: [PATCH] php cs fixer --- Models/EditorDoc.php | 6 +++--- Models/EditorDocMapper.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Models/EditorDoc.php b/Models/EditorDoc.php index 3b91cd9..010d2f0 100644 --- a/Models/EditorDoc.php +++ b/Models/EditorDoc.php @@ -110,7 +110,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function setContent(string $content) + public function setContent(string $content) : void { $this->content = $content; } @@ -122,7 +122,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function setPlain(string $plain) + public function setPlain(string $plain) : void { $this->plain = $plain; } @@ -172,7 +172,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable * * @since 1.0.0 */ - public function setCreatedBy($id) + public function setCreatedBy($id) : void { $this->createdBy = $id; } diff --git a/Models/EditorDocMapper.php b/Models/EditorDocMapper.php index 1611c2c..27588e8 100644 --- a/Models/EditorDocMapper.php +++ b/Models/EditorDocMapper.php @@ -26,7 +26,7 @@ final class EditorDocMapper extends DataMapperAbstract * @var array> * @since 1.0.0 */ - static protected $columns = [ + protected static $columns = [ 'editor_doc_id' => ['name' => 'editor_doc_id', 'type' => 'int', 'internal' => 'id'], 'editor_doc_created_by' => ['name' => 'editor_doc_created_by', 'type' => 'int', 'internal' => 'createdBy'], 'editor_doc_title' => ['name' => 'editor_doc_title', 'type' => 'string', 'internal' => 'title'], @@ -36,7 +36,7 @@ final class EditorDocMapper extends DataMapperAbstract 'editor_doc_created_at' => ['name' => 'editor_doc_created_at', 'type' => 'DateTime', 'internal' => 'createdAt'], ]; - static protected $belongsTo = [ + protected static $belongsTo = [ 'createdBy' => [ 'mapper' => AccountMapper::class, 'src' => 'editor_doc_created_by',