Skip to content

Commit 1a208b4

Browse files
authored
Fix is_IS Address docbock type (#438)
1 parent 700faae commit 1a208b4

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

Diff for: phpstan-baseline.neon

-10
Original file line numberDiff line numberDiff line change
@@ -864,16 +864,6 @@ parameters:
864864
count: 1
865865
path: src/Faker/Provider/id_ID/Person.php
866866

867-
-
868-
message: "#^Property Faker\\\\Provider\\\\is_IS\\\\Address\\:\\:\\$postcode has unknown class Faker\\\\Provider\\\\is_IS\\\\Icelandic as its type\\.$#"
869-
count: 1
870-
path: src/Faker/Provider/is_IS/Address.php
871-
872-
-
873-
message: "#^Static property Faker\\\\Provider\\\\is_IS\\\\Address\\:\\:\\$postcode \\(Faker\\\\Provider\\\\is_IS\\\\Icelandic\\) does not accept default value of type array\\<int, string\\>\\.$#"
874-
count: 1
875-
path: src/Faker/Provider/is_IS/Address.php
876-
877867
-
878868
message: "#^Binary operation \"\\*\" between string and string results in an error\\.$#"
879869
count: 1

Diff for: src/Faker/Provider/is_IS/Address.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Address extends \Faker\Provider\Address
8282
];
8383

8484
/**
85-
* @var Icelandic zip code.
85+
* @var array Icelandic zip code.
8686
*/
8787
protected static $postcode = [
8888
'%##',

0 commit comments

Comments
 (0)