Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa authored and github-actions[bot] committed Aug 30, 2023
1 parent 17a796e commit 7ac897f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/Resources/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
namespace Vormkracht10\WeFact\Resources;

use Exception;
use JsonException;
use GuzzleHttp\Client;
use Vormkracht10\WeFact\Enums\Action;
use Vormkracht10\WeFact\Traits\Request;
use GuzzleHttp\Exception\BadResponseException;
use GuzzleHttp\Exception\ClientException;
use GuzzleHttp\Exception\ServerException;
use GuzzleHttp\Exception\BadResponseException;
use JsonException;
use Vormkracht10\WeFact\Enums\Action;
use Vormkracht10\WeFact\Exceptions\MethodNotAvailableException;
use Vormkracht10\WeFact\Traits\Request;

abstract class Resource
{
Expand Down Expand Up @@ -42,10 +42,10 @@ public function list(array $params = []): array
}

/**
* @return array<string, mixed>
*
* @throws ClientException|ServerException|BadResponseException|JsonException
*/
* @return array<string, mixed>
*
* @throws ClientException|ServerException|BadResponseException|JsonException
*/
public function listAll(int $offset = 0, int $perPage = 1000): array
{
// Rate limit the requests to prevent IP blocking.
Expand All @@ -58,9 +58,9 @@ public function listAll(int $offset = 0, int $perPage = 1000): array

try {
$result = $this->list(params: [
'limit' => $perPage,
'offset' => $offset,
]
'limit' => $perPage,
'offset' => $offset,
]
);
} catch (Exception $e) {
throw $e;
Expand Down

0 comments on commit 7ac897f

Please sign in to comment.