diff --git a/Algorithm/Maze/MazeGenerator.php b/Algorithm/Maze/MazeGenerator.php index 84a846a2a..40f02f7db 100644 --- a/Algorithm/Maze/MazeGenerator.php +++ b/Algorithm/Maze/MazeGenerator.php @@ -27,6 +27,8 @@ class MazeGenerator { /** * Constructor + * + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() diff --git a/Utils/Converter/Currency.php b/Utils/Converter/Currency.php index 776e63c80..5e39f9ecb 100644 --- a/Utils/Converter/Currency.php +++ b/Utils/Converter/Currency.php @@ -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 = []; } /**