Skip to content

Commit

Permalink
fix: Exception in ConsoleHandler - Missing Parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjb03 authored Jun 18, 2024
1 parent 58e1092 commit 72e3fcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Handler/ConsoleHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private static function analyseOption(array $args, StatementsSource $statements_
*/
private static function normalizeOptionParams(array $args): array
{
return self::normalizeParams(['name', 'shortcut', 'mode', 'description', 'default'], $args);
return self::normalizeParams(['name', 'shortcut', 'mode', 'description', 'default', 'suggestedValues'], $args);
}

/**
Expand All @@ -247,7 +247,7 @@ private static function normalizeOptionParams(array $args): array
*/
private static function normalizeArgumentParams(array $args): array
{
return self::normalizeParams(['name', 'mode', 'description', 'default'], $args);
return self::normalizeParams(['name', 'mode', 'description', 'default', 'suggestedValues'], $args);
}

private static function normalizeParams(array $params, array $args): array
Expand Down

0 comments on commit 72e3fcc

Please sign in to comment.