From bf8ccbf87317880e54722939a11903faa2c7c9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=BA=AA?= Date: Tue, 20 Apr 2021 13:14:40 +0800 Subject: [PATCH] fix: wrong usage of constant check --- src/ConfigProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 6bd01c3..567f6dc 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -71,7 +71,7 @@ public function __invoke(): array public static function address() { - if (defined(BASE_PATH)) { + if (defined("BASE_PATH")) { $root = BASE_PATH . '/runtime'; } else { $root = '/tmp';