Skip to content

Commit c6e6867

Browse files
authored
fix(console): properly normalize boolean flag names (#1762)
1 parent 678b695 commit c6e6867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/console/src/Input/ConsoleArgumentDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private static function normalizeName(string $name, bool $boolean): string
6565
$normalizedName = str($name)->kebab();
6666

6767
if ($boolean) {
68-
$normalizedName->replaceStart('no-', '');
68+
$normalizedName = $normalizedName->replaceStart('no-', '');
6969
}
7070

7171
return $normalizedName->toString();

0 commit comments

Comments
 (0)