Skip to content

Commit 362323c

Browse files
authored
Merge pull request #22 from resendlabs/remove-final
remove final class
2 parents 19f1b18 + d212b2d commit 362323c

12 files changed

+12
-12
lines changed

src/ApiKey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @property string $created_at Time at which the API key was created.
99
* @property string|null $token The new API key to authenticate request with Resend.
1010
*/
11-
final class ApiKey extends Resource
11+
class ApiKey extends Resource
1212
{
1313
//
1414
}

src/Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* @property TResource[] $data
1515
*/
16-
final class Collection extends Resource implements IteratorAggregate
16+
class Collection extends Resource implements IteratorAggregate
1717
{
1818
/**
1919
* {@inheritdoc}

src/Domain.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Resend;
44

5-
final class Domain extends Resource
5+
class Domain extends Resource
66
{
77
//
88
}

src/Email.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @property string $to The email recipient address.
99
* @property string $created_at Time at which the API key was created.
1010
*/
11-
final class Email extends Resource
11+
class Email extends Resource
1212
{
1313
//
1414
}

src/Exceptions/ErrorException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Exception;
66

7-
final class ErrorException extends Exception
7+
class ErrorException extends Exception
88
{
99
/**
1010
* Creates a new Error Exception instance.

src/Exceptions/TransporterException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Exception;
66
use Psr\Http\Client\ClientExceptionInterface;
77

8-
final class TransporterException extends Exception
8+
class TransporterException extends Exception
99
{
1010
/**
1111
* Create a new Transporter exception.

src/Exceptions/UnserializableResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Exception;
66
use JsonException;
77

8-
final class UnserializableResponse extends Exception
8+
class UnserializableResponse extends Exception
99
{
1010
/**
1111
* Create a new Unserializable Response exception.

src/Resend.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Resend\ValueObjects\Transporter\BaseUri;
88
use Resend\ValueObjects\Transporter\Headers;
99

10-
final class Resend
10+
class Resend
1111
{
1212
/**
1313
* Creates a new Resend Client with the given API key.

src/Service/ApiKey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Resend\ValueObjects\Transporter\Payload;
66

7-
final class ApiKey extends Service
7+
class ApiKey extends Service
88
{
99
/**
1010
* Create a new API key.

src/Service/Domain.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Resend\ValueObjects\Transporter\Payload;
66

7-
final class Domain extends Service
7+
class Domain extends Service
88
{
99
/**
1010
* Add a new domain.

src/Service/Email.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Resend\ValueObjects\Transporter\Payload;
66

7-
final class Email extends Service
7+
class Email extends Service
88
{
99
/**
1010
* Retrieve an email with the given ID.

src/Service/ServiceFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Resend\Contracts\Transporter;
66

7-
final class ServiceFactory
7+
class ServiceFactory
88
{
99
/**
1010
* A list of service classes.

0 commit comments

Comments
 (0)