Skip to content

Commit 10b75bd

Browse files
Merge branch '5.4' into 6.2
* 5.4: Avoid call on null [Notifier] Document Firebase options object in readme [ErrorHandler] Fix sending Vary header with SerializerErrorRenderer Fix intl data tests [DoctrineBridge] fix issue with missing stopwatch events [HttpClient] Fix canceling MockResponse
2 parents 884c0a2 + cb1dbe3 commit 10b75bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/CurrenciesTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ public function testGetNumericCodeFailsIfNoNumericEquivalent($currency)
736736

737737
public static function provideValidNumericCodes()
738738
{
739-
$numericToAlpha3 = $this->getNumericToAlpha3Mapping();
739+
$numericToAlpha3 = self::getNumericToAlpha3Mapping();
740740

741741
return array_map(
742742
function ($numeric, $alpha3) { return [$numeric, $alpha3]; },
@@ -761,7 +761,7 @@ public function testForNumericCode($numeric, $expected)
761761

762762
public static function provideInvalidNumericCodes()
763763
{
764-
$validNumericCodes = array_keys($this->getNumericToAlpha3Mapping());
764+
$validNumericCodes = array_keys(self::getNumericToAlpha3Mapping());
765765
$invalidNumericCodes = array_diff(range(0, 1000), $validNumericCodes);
766766

767767
return array_map(
@@ -791,7 +791,7 @@ public function testExists()
791791
$this->assertFalse(Currencies::exists('XXX'));
792792
}
793793

794-
private function getNumericToAlpha3Mapping()
794+
private static function getNumericToAlpha3Mapping()
795795
{
796796
$numericToAlpha3 = [];
797797

0 commit comments

Comments
 (0)