From f604f3cb085a6d2cf81ed72a59b04847ff1086e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 15:21:17 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index be3b3b85..d5a6776e 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -81,10 +81,10 @@ class Annotation extends Component /** * @param string $dir - * @param string|array|null $outPath + * @param string|array $outPath * @throws Exception */ - public function runtime(string $dir, string|array $outPath = null) + public function runtime(string $dir, string|array $outPath = []) { if (!empty($outPath) && !is_array($outPath)) { $outPath = [$outPath];