fix return type

This commit is contained in:
Dennis Eichhorn 2019-12-15 14:29:50 +01:00
parent ab385bfbb5
commit e008c094e5
2 changed files with 5 additions and 3 deletions

View File

@ -27,6 +27,8 @@ class MazeGenerator
{
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()

View File

@ -33,10 +33,10 @@ final class Currency
/**
* ECB currency rates.
*
* @var null|array
* @var array
* @since 1.0.0
*/
private static ?array $ecbCurrencies = null;
private static array $ecbCurrencies = [];
/**
* Constructor.
@ -59,7 +59,7 @@ final class Currency
*/
public static function resetCurrencies() : void
{
self::$ecbCurrencies = null;
self::$ecbCurrencies = [];
}
/**