mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-01-28 16:28:42 +00:00
Remove space from end of line
This commit is contained in:
parent
ff4ee617e9
commit
3496b433c3
|
|
@ -167,7 +167,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
}
|
||||
|
||||
$comment = new Comment();
|
||||
|
||||
|
||||
CommentMapper::create($comment);
|
||||
|
||||
$response->set('comment', $comment->jsonSerialize());
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user