From 9dab02afd47a7ae47fd72f1f0f154572d2dd26c3 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Thu, 17 Jan 2019 06:20:08 +0100 Subject: [PATCH] Make PHP-stan happy --- .travis.yml | 4 +++- src/Api/MailingList/Member.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80487bf..da48896 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,9 @@ matrix: - name: PHPStan php: 7.2 env: DEPENDENCIES="phpstan/phpstan" - script: ./vendor/bin/phpstan analyse src + script: + - ./vendor/bin/phpstan --version + - ./vendor/bin/phpstan analyse src before_install: - if [[ "$PREFER_COVERAGE" = true ]] && [[ "$TRAVIS_PULL_REQUEST" = false ]]; then TEST_COMMAND="composer test-coverage" COVERAGE=true; fi diff --git a/src/Api/MailingList/Member.php b/src/Api/MailingList/Member.php index 6bc3a74..0d0bcee 100644 --- a/src/Api/MailingList/Member.php +++ b/src/Api/MailingList/Member.php @@ -112,7 +112,7 @@ class Member extends HttpApi * * @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 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 *