From 2fa57a83aa83f7380306992425f2e5a8fa7d3555 Mon Sep 17 00:00:00 2001 From: Daniel Schmelz Date: Thu, 27 Jan 2022 21:29:57 +0100 Subject: [PATCH 1/2] fix docbock type --- src/Faker/Provider/is_IS/Address.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Faker/Provider/is_IS/Address.php b/src/Faker/Provider/is_IS/Address.php index 195bac94c1..60b5a1e32d 100644 --- a/src/Faker/Provider/is_IS/Address.php +++ b/src/Faker/Provider/is_IS/Address.php @@ -82,7 +82,7 @@ class Address extends \Faker\Provider\Address ]; /** - * @var Icelandic zip code. + * @var array Icelandic zip code. */ protected static $postcode = [ '%##', From 2d2d03325b1ce88f85e48cd15f7348de6b17431f Mon Sep 17 00:00:00 2001 From: Daniel Schmelz Date: Thu, 27 Jan 2022 21:32:31 +0100 Subject: [PATCH 2/2] fix docbock type --- phpstan-baseline.neon | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 36b11fd9df..e4bf44021d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -864,16 +864,6 @@ parameters: count: 1 path: src/Faker/Provider/id_ID/Person.php - - - message: "#^Property Faker\\\\Provider\\\\is_IS\\\\Address\\:\\:\\$postcode has unknown class Faker\\\\Provider\\\\is_IS\\\\Icelandic as its type\\.$#" - count: 1 - path: src/Faker/Provider/is_IS/Address.php - - - - message: "#^Static property Faker\\\\Provider\\\\is_IS\\\\Address\\:\\:\\$postcode \\(Faker\\\\Provider\\\\is_IS\\\\Icelandic\\) does not accept default value of type array\\\\.$#" - count: 1 - path: src/Faker/Provider/is_IS/Address.php - - message: "#^Binary operation \"\\*\" between string and string results in an error\\.$#" count: 1