Skip to content

Commit

Permalink
Update libraries/src/Console/SetConfigurationCommand.php
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
  • Loading branch information
sba and richard67 committed Jan 6, 2024
1 parent adbebc8 commit 1988907
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/src/Console/SetConfigurationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,8 @@ public function sanitizeOptions(array $options): array
foreach ($options as $key => $value) {
$value = $value === 'false' ? false : $value;
$value = $value === 'true' ? true : $value;

$value = ctype_digit((string) $value) ? (int) $value : $value;

$options[$key] = $value;
}

Expand Down

0 comments on commit 1988907

Please sign in to comment.