php cs fixer

This commit is contained in:
Dennis Eichhorn 2018-12-28 19:13:17 +01:00
parent ba046bd8a0
commit f521df0def
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -26,7 +26,7 @@ final class EditorDocMapper extends DataMapperAbstract
* @var array<string, array<string, bool|string>>
* @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',