Skip to content

Commit 4a20e52

Browse files
authored
Merge pull request #107 from ipinfo/silvano/eng-732-update-currency-dataset-in-php-sdk
Update Bulgaria currency from BGN to EUR
2 parents 17ab350 + d1b16c7 commit 4a20e52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Const.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
"BD" => [ "code" => "BDT" ,"symbol" => ""],
530530
"BE" => [ "code" => "EUR" ,"symbol" => ""],
531531
"BF" => [ "code" => "XOF" ,"symbol" => "CFA"],
532-
"BG" => [ "code" => "BGN" ,"symbol" => "лв"],
532+
"BG" => [ "code" => "EUR" ,"symbol" => ""],
533533
"BH" => [ "code" => "BHD" ,"symbol" => ".د.ب"],
534534
"BI" => [ "code" => "BIF" ,"symbol" => "FBu"],
535535
"BJ" => [ "code" => "XOF" ,"symbol" => "CFA"],

tests/IPinfoTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,9 @@ public function testNetworkDetails()
239239
$this->assertEquals($res->type, 'inactive');
240240
$this->assertEquals($res->prefixes, []);
241241
$this->assertEquals($res->prefixes6, []);
242-
$this->assertEquals($res->peers, null);
243-
$this->assertEquals($res->upstreams, null);
244-
$this->assertEquals($res->downstreams, null);
242+
$this->assertEquals($res->peers, []);
243+
$this->assertEquals($res->upstreams, []);
244+
$this->assertEquals($res->downstreams, []);
245245
}
246246

247247
public function testBogonLocal4()

0 commit comments

Comments
 (0)