This commit is contained in:
2020-12-17 14:12:44 +08:00
parent 9516baef92
commit 33e5416dda
38 changed files with 100 additions and 101 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ declare(strict_types=1);
namespace Snowflake\Abstracts;
use Exception;
use JetBrains\PhpStorm\Pure;
use Snowflake\Exception\ConfigException;
use Snowflake\Abstracts\Component;
use Snowflake\Snowflake;
@@ -94,7 +94,7 @@ class Config extends Component
* @param bool $must_not_null
* @return bool
*/
#[Pure] public static function has($key, $must_not_null = false): bool
public static function has($key, $must_not_null = false): bool
{
$config = Snowflake::app()->config;
if (!isset($config->data[$key])) {