Skip to content

Commit

Permalink
Apply Code Style Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammyjo20 authored and actions-user committed Jan 28, 2022
1 parent 6a56959 commit 9ac3bca
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions src/Http/SaloonConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace Sammyjo20\Saloon\Http;

use Sammyjo20\Saloon\Interfaces\SaloonConnectorInterface;
use Sammyjo20\Saloon\Traits\CollectsConfig;
use Sammyjo20\Saloon\Traits\CollectsData;
use Sammyjo20\Saloon\Traits\CollectsHandlers;
use Sammyjo20\Saloon\Traits\CollectsConfig;
use Sammyjo20\Saloon\Traits\CollectsHeaders;
use Sammyjo20\Saloon\Traits\CollectsInterceptors;
use Sammyjo20\Saloon\Traits\CollectsQueryParams;
use Sammyjo20\Saloon\Traits\CollectsHandlers;
use Sammyjo20\Saloon\Traits\HasCustomResponses;
use Sammyjo20\Saloon\Traits\CollectsQueryParams;
use Sammyjo20\Saloon\Traits\CollectsInterceptors;
use Sammyjo20\Saloon\Interfaces\SaloonConnectorInterface;

abstract class SaloonConnector implements SaloonConnectorInterface
{
Expand Down
16 changes: 8 additions & 8 deletions src/Http/SaloonRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
namespace Sammyjo20\Saloon\Http;

use ReflectionClass;
use Sammyjo20\Saloon\Exceptions\SaloonInvalidConnectorException;
use Sammyjo20\Saloon\Exceptions\SaloonMethodNotFoundException;
use Sammyjo20\Saloon\Interfaces\SaloonRequestInterface;
use Sammyjo20\Saloon\Traits\CollectsConfig;
use Sammyjo20\Saloon\Traits\CollectsData;
use Sammyjo20\Saloon\Traits\CollectsHandlers;
use Sammyjo20\Saloon\Traits\SendsRequests;
use Sammyjo20\Saloon\Traits\CollectsConfig;
use Sammyjo20\Saloon\Traits\CollectsHeaders;
use Sammyjo20\Saloon\Traits\CollectsInterceptors;
use Sammyjo20\Saloon\Traits\CollectsQueryParams;
use Sammyjo20\Saloon\Traits\CollectsHandlers;
use Sammyjo20\Saloon\Traits\HasCustomResponses;
use Sammyjo20\Saloon\Traits\SendsRequests;
use Sammyjo20\Saloon\Traits\CollectsQueryParams;
use Sammyjo20\Saloon\Traits\CollectsInterceptors;
use Sammyjo20\Saloon\Interfaces\SaloonRequestInterface;
use Sammyjo20\Saloon\Exceptions\SaloonMethodNotFoundException;
use Sammyjo20\Saloon\Exceptions\SaloonInvalidConnectorException;

abstract class SaloonRequest implements SaloonRequestInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/HasCustomResponses.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace Sammyjo20\Saloon\Traits;

use ReflectionClass;
use Sammyjo20\Saloon\Exceptions\SaloonInvalidConnectorException;
use Sammyjo20\Saloon\Exceptions\SaloonInvalidResponseClassException;
use Sammyjo20\Saloon\Http\SaloonRequest;
use Sammyjo20\Saloon\Http\SaloonResponse;
use Sammyjo20\Saloon\Exceptions\SaloonInvalidConnectorException;
use Sammyjo20\Saloon\Exceptions\SaloonInvalidResponseClassException;

trait HasCustomResponses
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/MockResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Sammyjo20\Saloon\Tests\Resources\Responses\UserData;
use Sammyjo20\Saloon\Tests\Resources\Requests\MockRequest;
use Sammyjo20\Saloon\Tests\Resources\Requests\UserRequest;
use Sammyjo20\Saloon\Tests\Resources\Requests\UserRequestWithCustomResponse;
use Sammyjo20\Saloon\Tests\Resources\Responses\UserResponse;
use Sammyjo20\Saloon\Tests\Resources\Requests\UserRequestWithCustomResponse;

test('pulling a response from the sequence will return the correct response', function () {
$responseA = new MockResponse([], 200);
Expand Down

0 comments on commit 9ac3bca

Please sign in to comment.