mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-25 06:16:03 +03:00
Make all models final (#513)
This commit is contained in:
parent
da5ccde2a7
commit
e32031f671
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class Attachment implements ApiResponse
|
||||
final class Attachment implements ApiResponse
|
||||
{
|
||||
private $data;
|
||||
|
||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Event;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class Event
|
||||
final class Event
|
||||
{
|
||||
/**
|
||||
* @var string status
|
||||
|
@ -16,7 +16,7 @@ use Mailgun\Model\ApiResponse;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class EventResponse implements ApiResponse, PagingProvider
|
||||
final class EventResponse implements ApiResponse, PagingProvider
|
||||
{
|
||||
use PaginationResponse;
|
||||
|
||||
|
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class SendResponse implements ApiResponse
|
||||
final class SendResponse implements ApiResponse
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class ShowResponse implements ApiResponse
|
||||
final class ShowResponse implements ApiResponse
|
||||
{
|
||||
/**
|
||||
* Only available with message/rfc2822.
|
||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Stats;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class TotalResponseItem
|
||||
final class TotalResponseItem
|
||||
{
|
||||
/**
|
||||
* @var \DateTime
|
||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Bounce;
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
||||
*/
|
||||
class Bounce
|
||||
final class Bounce
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Complaint;
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
||||
*/
|
||||
class Complaint
|
||||
final class Complaint
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Unsubscribe;
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
||||
*/
|
||||
class Unsubscribe
|
||||
final class Unsubscribe
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
namespace Mailgun\Model\Tag;
|
||||
|
||||
class Tag
|
||||
final class Tag
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
@ -12,6 +12,6 @@ namespace Mailgun\Model\Webhook;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class CreateResponse extends BaseResponse
|
||||
final class CreateResponse extends BaseResponse
|
||||
{
|
||||
}
|
||||
|
@ -12,6 +12,6 @@ namespace Mailgun\Model\Webhook;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class DeleteResponse extends BaseResponse
|
||||
final class DeleteResponse extends BaseResponse
|
||||
{
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
class IndexResponse implements ApiResponse
|
||||
final class IndexResponse implements ApiResponse
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
|
Loading…
Reference in New Issue
Block a user