diff --git a/composer.json b/composer.json index e9e290a..276adf7 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "keywords": ["i18n", "php-i18n", "language"], "type": "library", "require": { - "php": ">=8.0" + "php": ">=7.4" }, "license": "MIT", "autoload": { diff --git a/src/Config/Config.php b/src/Config/Config.php index aa6b930..ad4c61a 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -48,7 +48,7 @@ public static function setOptions(array $options): void } } - public static function getOptions(string $key = null, mixed $default = null): mixed + public static function getOptions(string $key = null, $default = null) { if ($key) { return self::$config[$key] ?? $default;