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];