Skip to content

Commit

Permalink
fix addComment()
Browse files Browse the repository at this point in the history
  • Loading branch information
DrAliRagab authored Nov 16, 2024
1 parent 086cb08 commit 9fec981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function deletePost(int $postId): bool
/**
* Add comment to a post.
*/
public function addComment(string $message, ?int $postId = null): self
public function addComment(string $message, ?string $postId = null): self
{
$postId ??= $this->getPostId();

Expand Down

0 comments on commit 9fec981

Please sign in to comment.