diff --git a/src/Endpoints/Comments.php b/src/Endpoints/Comments.php index 8bc62de..f220c66 100644 --- a/src/Endpoints/Comments.php +++ b/src/Endpoints/Comments.php @@ -41,8 +41,8 @@ public function __construct(Notion $notion) * Retrieve a list of comments * url: https://api.notion.com/{version}/comments?block_id=* [get] * notion-api-docs: https://developers.notion.com/reference/retrieve-a-comment. - * @param string $blockId * + * @param string $blockId * @return CommentCollection * * @throws HandlingException @@ -51,7 +51,7 @@ public function __construct(Notion $notion) public function ofBlock(string $blockId): CommentCollection { $response = $this->get( - $this->url(Endpoint::COMMENTS . "?block_id={$blockId}&{$this->buildPaginationQuery()}") + $this->url(Endpoint::COMMENTS."?block_id={$blockId}&{$this->buildPaginationQuery()}") ); return new CommentCollection($response->json()); @@ -91,8 +91,8 @@ public function onPage(string $pageId): self * Create a comment * url: https://api.notion.com/{version}/comments [post] * notion-api-docs: https://developers.notion.com/reference/create-a-comment. - * @param CommentEntity $comment * + * @param CommentEntity $comment * @return CommentEntity * * @throws HandlingException