php cs fixer

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

View File

@ -197,7 +197,7 @@ class NewsArticle implements ArrayableInterface, \JsonSerializable
*
* @since 1.0.0
*/
public function setPlain(string $plain)
public function setPlain(string $plain) : void
{
$this->plain = $plain;
}

View File

@ -34,7 +34,7 @@ final class NewsArticleMapper extends DataMapperAbstract
* @var array<string, array<string, bool|string>>
* @since 1.0.0
*/
static protected $columns = [
protected static $columns = [
'news_id' => ['name' => 'news_id', 'type' => 'int', 'internal' => 'id'],
'news_created_by' => ['name' => 'news_created_by', 'type' => 'int', 'internal' => 'createdBy'],
'news_publish' => ['name' => 'news_publish', 'type' => 'DateTime', 'internal' => 'publish'],
@ -48,7 +48,7 @@ final class NewsArticleMapper extends DataMapperAbstract
'news_created_at' => ['name' => 'news_created_at', 'type' => 'DateTime', 'internal' => 'createdAt'],
];
static protected $belongsTo = [
protected static $belongsTo = [
'createdBy' => [
'mapper' => AccountMapper::class,
'src' => 'news_created_by',