Remove space from end of line

This commit is contained in:
Dennis Eichhorn 2018-02-03 11:52:30 +01:00
parent ff4ee617e9
commit 3496b433c3
3 changed files with 6 additions and 6 deletions

View File

@ -167,7 +167,7 @@ class Controller extends ModuleAbstract implements WebInterface
}
$comment = new Comment();
CommentMapper::create($comment);
$response->set('comment', $comment->jsonSerialize());

View File

@ -38,7 +38,7 @@ class Comment
private $ref = null;
public function __construct()
public function __construct()
{
$this->createdAt = new \DateTime();
}
@ -88,12 +88,12 @@ class Comment
$this->content = $content;
}
public function getCreatedBy()
public function getCreatedBy()
{
return $this->createdBy;
}
public function setCreatedBy($createdBy)
public function setCreatedBy($createdBy)
{
$this->createdBy = $createdBy;
}

View File

@ -28,7 +28,7 @@ class CommentList
private $comments = [];
public function __construct()
public function __construct()
{
}
@ -42,7 +42,7 @@ class CommentList
return $this->comments;
}
public function addComment($comment)
public function addComment($comment)
{
$this->comments[] = $comment;
}