Skip to content

Commit

Permalink
Update getOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
carry0987 committed Feb 15, 2024
1 parent d453368 commit 4836240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": ["i18n", "php-i18n", "language"],
"type": "library",
"require": {
"php": ">=8.0"
"php": ">=7.4"
},
"license": "MIT",
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4836240

Please sign in to comment.