mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-21 20:16:03 +03:00
Bugfix
This commit is contained in:
parent
997d545e61
commit
2fe264038b
@ -33,7 +33,7 @@ matrix:
|
|||||||
env: DEPENDENCIES="phpstan/phpstan"
|
env: DEPENDENCIES="phpstan/phpstan"
|
||||||
script:
|
script:
|
||||||
- ./vendor/bin/phpstan --version
|
- ./vendor/bin/phpstan --version
|
||||||
- ./vendor/bin/phpstan analyse src
|
- ./vendor/bin/phpstan analyse
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ "$PREFER_COVERAGE" = true ]] && [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test-coverage" COVERAGE=true; fi
|
- if [[ "$PREFER_COVERAGE" = true ]] && [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test-coverage" COVERAGE=true; fi
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
parameters:
|
parameters:
|
||||||
level: 5
|
level: 5
|
||||||
|
paths:
|
||||||
|
- src
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ final class ShowResponse implements ApiResponse
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function create(array $data): array
|
public static function create(array $data): self
|
||||||
{
|
{
|
||||||
$model = new self();
|
$model = new self();
|
||||||
$model->recipients = $data['recipients'] ?? null;
|
$model->recipients = $data['recipients'] ?? null;
|
||||||
|
Loading…
Reference in New Issue
Block a user