diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 81409b5c13..5a50df6733 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -879,11 +879,6 @@ parameters: count: 2 path: src/Faker/Provider/nl_NL/Company.php - - - message: "#^Method Faker\\\\Provider\\\\pl_PL\\\\Company\\:\\:regonLocal\\(\\) should return 14 but returns string\\.$#" - count: 1 - path: src/Faker/Provider/pl_PL/Company.php - - message: "#^Binary operation \"\\+\" between string and int\\<\\-80, 80\\> results in an error\\.$#" count: 1 diff --git a/src/Faker/Provider/pl_PL/Company.php b/src/Faker/Provider/pl_PL/Company.php index 78cf5c2cd8..1643009618 100644 --- a/src/Faker/Provider/pl_PL/Company.php +++ b/src/Faker/Provider/pl_PL/Company.php @@ -63,7 +63,7 @@ public static function regon() * * @see http://pl.wikipedia.org/wiki/REGON * - * @return 14 digit number + * @return string 14 digit number */ public static function regonLocal() {