mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-25 14:26:04 +03:00
Apply fixes from StyleCI (#243)
This commit is contained in:
parent
751770d32c
commit
ce8215ff6c
@ -13,7 +13,7 @@ namespace Mailgun\Lists;
|
|||||||
* This class is used for creating a unique hash for
|
* This class is used for creating a unique hash for
|
||||||
* mailing list subscription double-opt in requests.
|
* mailing list subscription double-opt in requests.
|
||||||
*
|
*
|
||||||
* @link https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Lists/README.md
|
* @see https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Lists/README.md
|
||||||
*/
|
*/
|
||||||
class OptInHandler
|
class OptInHandler
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,7 @@ use Mailgun\Messages\Exceptions\TooManyParameters;
|
|||||||
* This class is used for batch sending. See the official documentation (link below)
|
* This class is used for batch sending. See the official documentation (link below)
|
||||||
* for usage instructions.
|
* for usage instructions.
|
||||||
*
|
*
|
||||||
* @link https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
|
* @see https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
|
||||||
*/
|
*/
|
||||||
class BatchMessage extends MessageBuilder
|
class BatchMessage extends MessageBuilder
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,7 @@ use Mailgun\Messages\Exceptions\TooManyParameters;
|
|||||||
* this class makes the process easier. See the official
|
* this class makes the process easier. See the official
|
||||||
* documentation (link below) for usage instructions.
|
* documentation (link below) for usage instructions.
|
||||||
*
|
*
|
||||||
* @link https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
|
* @see https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
|
||||||
*/
|
*/
|
||||||
class MessageBuilder
|
class MessageBuilder
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Domain;
|
namespace Mailgun\Resource\Api\Domain;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api;
|
namespace Mailgun\Resource\Api;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Stats;
|
namespace Mailgun\Resource\Api\Stats;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Stats;
|
namespace Mailgun\Resource\Api\Stats;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Stats;
|
namespace Mailgun\Resource\Api\Stats;
|
||||||
|
|
||||||
use Mailgun\Resource\ApiResponse;
|
use Mailgun\Resource\ApiResponse;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* of the MIT license. See the LICENSE file for details.
|
* of the MIT license. See the LICENSE file for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
namespace Mailgun\Resource\Api\Stats;
|
namespace Mailgun\Resource\Api\Stats;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -66,7 +66,6 @@ class TestBroker extends RestClient
|
|||||||
throw new MissingEndpoint(EXCEPTION_MISSING_ENDPOINT);
|
throw new MissingEndpoint(EXCEPTION_MISSING_ENDPOINT);
|
||||||
} else {
|
} else {
|
||||||
throw new GenericHTTPError(EXCEPTION_GENERIC_HTTP_ERROR);
|
throw new GenericHTTPError(EXCEPTION_GENERIC_HTTP_ERROR);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$result->http_response_code = $httpResponseCode;
|
$result->http_response_code = $httpResponseCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user