From 23efd4bceaccb15cf8093864631621c93c3b1e91 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Wed, 3 Apr 2024 00:54:39 -0400 Subject: [PATCH] Fix dump command phpstan --- src/Command/DumpCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Command/DumpCommand.php b/src/Command/DumpCommand.php index 22594681..8309f7f3 100644 --- a/src/Command/DumpCommand.php +++ b/src/Command/DumpCommand.php @@ -48,10 +48,11 @@ public static function defaultName(): string * Extract options for the dump command from another migrations option parser. * * @param \Cake\Console\Arguments $args - * @return array + * @return array */ public static function extractArgs(Arguments $args): array { + /** @var array $newArgs */ $newArgs = []; if ($args->getOption('connection')) { $newArgs[] = '-c';