We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e322942 commit f96ea45Copy full SHA for f96ea45
1 file changed
ISO4217Test.php
@@ -140,7 +140,9 @@ private static function getCurrencies(string $indexedBy): array
140
{
141
$reflected = new \ReflectionClass('Alcohol\ISO4217');
142
$currencies = $reflected->getProperty('currencies');
143
- $currencies->setAccessible(true);
+ if (PHP_VERSION_ID < 80100) {
144
+ $currencies->setAccessible(true);
145
+ }
146
$currencies = $currencies->getValue(new ISO4217());
147
148
return array_reduce(
0 commit comments