Skip to content

Commit

Permalink
Remove unnecessary interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Jun 26, 2023
1 parent 6a32473 commit a56f04c
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 81 deletions.
4 changes: 2 additions & 2 deletions src/Firebase/Auth/ApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use DateInterval;
use GuzzleHttp\ClientInterface;
use Kreait\Firebase\Auth\CreateSessionCookie\GuzzleApiClientHandler;
use Kreait\Firebase\Auth\SignIn\Handler as SignInHandler;
use Kreait\Firebase\Auth\SignIn\GuzzleHandler;
use Kreait\Firebase\Exception\Auth\EmailNotFound;
use Kreait\Firebase\Exception\Auth\ExpiredOobCode;
use Kreait\Firebase\Exception\Auth\InvalidOobCode;
Expand Down Expand Up @@ -46,7 +46,7 @@ public function __construct(
private readonly string $projectId,
private readonly ?string $tenantId,
private readonly ClientInterface $client,
private readonly SignInHandler $signInHandler,
private readonly GuzzleHandler $signInHandler,
private readonly ClockInterface $clock,
) {
$this->errorHandler = new AuthApiExceptionConverter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* @internal
*/
final class GuzzleApiClientHandler implements Handler
final class GuzzleApiClientHandler
{
/**
* @param non-empty-string $projectId
Expand Down
18 changes: 0 additions & 18 deletions src/Firebase/Auth/CreateActionLink/Handler.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* @internal
*/
final class GuzzleApiClientHandler implements Handler
final class GuzzleApiClientHandler
{
/**
* @param non-empty-string $projectId
Expand Down
18 changes: 0 additions & 18 deletions src/Firebase/Auth/CreateSessionCookie/Handler.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* @internal
*/
final class GuzzleApiClientHandler implements Handler
final class GuzzleApiClientHandler
{
/**
* @param non-empty-string $projectId
Expand Down
18 changes: 0 additions & 18 deletions src/Firebase/Auth/SendActionLink/Handler.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Firebase/Auth/SignIn/GuzzleHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* @internal
*/
final class GuzzleHandler implements Handler
final class GuzzleHandler
{
/**
* @var array<non-empty-string, mixed>
Expand Down
21 changes: 0 additions & 21 deletions src/Firebase/Auth/SignIn/Handler.php

This file was deleted.

0 comments on commit a56f04c

Please sign in to comment.