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(); $comment = new Comment();
CommentMapper::create($comment); CommentMapper::create($comment);
$response->set('comment', $comment->jsonSerialize()); $response->set('comment', $comment->jsonSerialize());

View File

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

View File

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