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"
|
||||
script:
|
||||
- ./vendor/bin/phpstan --version
|
||||
- ./vendor/bin/phpstan analyse src
|
||||
- ./vendor/bin/phpstan analyse
|
||||
|
||||
before_install:
|
||||
- if [[ "$PREFER_COVERAGE" = true ]] && [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test-coverage" COVERAGE=true; fi
|
||||
|
@ -1,3 +1,5 @@
|
||||
parameters:
|
||||
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->recipients = $data['recipients'] ?? null;
|
||||
|
Loading…
Reference in New Issue
Block a user