Make all models final (#513)

This commit is contained in:
Tobias Nyholm 2019-01-06 08:13:29 +01:00 committed by GitHub
parent da5ccde2a7
commit e32031f671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 13 additions and 13 deletions

View File

@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class Attachment implements ApiResponse final class Attachment implements ApiResponse
{ {
private $data; private $data;

View File

@ -12,7 +12,7 @@ namespace Mailgun\Model\Event;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class Event final class Event
{ {
/** /**
* @var string status * @var string status

View File

@ -16,7 +16,7 @@ use Mailgun\Model\ApiResponse;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class EventResponse implements ApiResponse, PagingProvider final class EventResponse implements ApiResponse, PagingProvider
{ {
use PaginationResponse; use PaginationResponse;

View File

@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class SendResponse implements ApiResponse final class SendResponse implements ApiResponse
{ {
/** /**
* @var string * @var string

View File

@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class ShowResponse implements ApiResponse final class ShowResponse implements ApiResponse
{ {
/** /**
* Only available with message/rfc2822. * Only available with message/rfc2822.

View File

@ -12,7 +12,7 @@ namespace Mailgun\Model\Stats;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class TotalResponseItem final class TotalResponseItem
{ {
/** /**
* @var \DateTime * @var \DateTime

View File

@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Bounce;
/** /**
* @author Sean Johnson <sean@mailgun.com> * @author Sean Johnson <sean@mailgun.com>
*/ */
class Bounce final class Bounce
{ {
/** /**
* @var string * @var string

View File

@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Complaint;
/** /**
* @author Sean Johnson <sean@mailgun.com> * @author Sean Johnson <sean@mailgun.com>
*/ */
class Complaint final class Complaint
{ {
/** /**
* @var string * @var string

View File

@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Unsubscribe;
/** /**
* @author Sean Johnson <sean@mailgun.com> * @author Sean Johnson <sean@mailgun.com>
*/ */
class Unsubscribe final class Unsubscribe
{ {
/** /**
* @var string * @var string

View File

@ -9,7 +9,7 @@
namespace Mailgun\Model\Tag; namespace Mailgun\Model\Tag;
class Tag final class Tag
{ {
/** /**
* @var string * @var string

View File

@ -12,6 +12,6 @@ namespace Mailgun\Model\Webhook;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class CreateResponse extends BaseResponse final class CreateResponse extends BaseResponse
{ {
} }

View File

@ -12,6 +12,6 @@ namespace Mailgun\Model\Webhook;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class DeleteResponse extends BaseResponse final class DeleteResponse extends BaseResponse
{ {
} }

View File

@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
/** /**
* @author Tobias Nyholm <tobias.nyholm@gmail.com> * @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/ */
class IndexResponse implements ApiResponse final class IndexResponse implements ApiResponse
{ {
/** /**
* @var array * @var array