Skip to content

Commit

Permalink
Fix dump command phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 3, 2024
1 parent 91b76a7 commit 23efd4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Command/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, mixed>
* @return array<int|string, mixed>
*/
public static function extractArgs(Arguments $args): array
{
/** @var array<int|string, mixed> $newArgs */
$newArgs = [];
if ($args->getOption('connection')) {
$newArgs[] = '-c';
Expand Down

0 comments on commit 23efd4b

Please sign in to comment.