From 3496b433c30c5d0a64dedcfc8d6f5a3b6263c502 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 3 Feb 2018 11:52:30 +0100 Subject: [PATCH] Remove space from end of line --- Controller.php | 2 +- Models/Comment.php | 6 +++--- Models/CommentList.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Controller.php b/Controller.php index c9e12cd..ef84f33 100644 --- a/Controller.php +++ b/Controller.php @@ -167,7 +167,7 @@ class Controller extends ModuleAbstract implements WebInterface } $comment = new Comment(); - + CommentMapper::create($comment); $response->set('comment', $comment->jsonSerialize()); diff --git a/Models/Comment.php b/Models/Comment.php index 4d510fe..eff47cc 100644 --- a/Models/Comment.php +++ b/Models/Comment.php @@ -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; } diff --git a/Models/CommentList.php b/Models/CommentList.php index 4735911..56248c0 100644 --- a/Models/CommentList.php +++ b/Models/CommentList.php @@ -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; }