From f4b3298eee3186c8a8ccfbed83931984bfc476a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 15:34:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Annotation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index b779bbd7..d09d4ea1 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -84,7 +84,7 @@ class Annotation extends Component * @param string|array $outPath * @throws Exception */ - public function runtime(string $dir, string|array $outPath = []) + public function runtime(string $dir, string|array $outPath = '') { // if (!empty($outPath) && !is_array($outPath)) { // $outPath = [$outPath];