Skip to content

Commit

Permalink
Update BlueskyClient.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kawax committed Jul 14, 2024
1 parent aad4caa commit 73633d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BlueskyClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Revolution\Bluesky;

use Illuminate\Http\Client\ConnectionException;
use Illuminate\Http\Client\RequestException;
use Illuminate\Http\Client\Response;
use Illuminate\Support\Collection;
Expand Down Expand Up @@ -39,6 +40,7 @@ public function session(string $key = null): mixed

/**
* @throws RequestException
* @throws ConnectionException
*/
public function login(string $identifier, #[\SensitiveParameter] string $password): static
{
Expand All @@ -55,6 +57,7 @@ public function login(string $identifier, #[\SensitiveParameter] string $passwor

/**
* My feed.
* @throws ConnectionException
*/
public function feed(int $limit = 50, string $cursor = '', string $filter = 'posts_with_replies'): Response
{
Expand All @@ -70,6 +73,7 @@ public function feed(int $limit = 50, string $cursor = '', string $filter = 'pos

/**
* My timeline.
* @throws ConnectionException
*/
public function timeline(int $limit = 50, string $cursor = ''): Response
{
Expand All @@ -83,6 +87,7 @@ public function timeline(int $limit = 50, string $cursor = ''): Response

/**
* Create new post.
* @throws ConnectionException
*/
public function post(string $text): Response
{
Expand Down

0 comments on commit 73633d9

Please sign in to comment.