Make PHP-stan happy

This commit is contained in:
Nyholm 2019-01-17 06:20:08 +01:00 committed by David Garcia
parent 28a4454c63
commit 9dab02afd4
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,9 @@ matrix:
- name: PHPStan - name: PHPStan
php: 7.2 php: 7.2
env: DEPENDENCIES="phpstan/phpstan" env: DEPENDENCIES="phpstan/phpstan"
script: ./vendor/bin/phpstan analyse src script:
- ./vendor/bin/phpstan --version
- ./vendor/bin/phpstan analyse src
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

View File

@ -112,7 +112,7 @@ class Member extends HttpApi
* *
* @param string $list Address of the mailing list * @param string $list Address of the mailing list
* @param array $members Array of members, each item should be either a single string address or an array of member properties * @param array $members Array of members, each item should be either a single string address or an array of member properties
* @param string $upsert `true` to update existing members, `false` (default) to ignore duplicates * @param bool $upsert `true` to update existing members, `false` (default) to ignore duplicates
* *
* @return UpdateResponse * @return UpdateResponse
* *