From 45d7ab0a387df6b13515d42c6f17dd3001967dec Mon Sep 17 00:00:00 2001 From: Daniel Schmelz Date: Thu, 27 Jan 2022 22:06:30 +0100 Subject: [PATCH] fix docbock type --- phpstan-baseline.neon | 5 ----- src/Faker/Provider/pl_PL/Company.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) 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() {