mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-26 08:18:42 +00:00
php cs fixer
This commit is contained in:
parent
ba046bd8a0
commit
f521df0def
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user