mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-15 00:38: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();
|
$comment = new Comment();
|
||||||
|
|
||||||
CommentMapper::create($comment);
|
CommentMapper::create($comment);
|
||||||
|
|
||||||
$response->set('comment', $comment->jsonSerialize());
|
$response->set('comment', $comment->jsonSerialize());
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user