We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea1698 commit 2c39415Copy full SHA for 2c39415
src/Mcp/Tools/ListRoutes.php
@@ -58,9 +58,9 @@ public function handle(array $arguments): ToolResult
58
];
59
60
foreach ($optionMap as $argKey => $cliOption) {
61
- if (! empty($arguments[$argKey] ?? '')) {
+ if (! empty($arguments[$argKey])) {
62
$sanitizedValue = $this->sanitizeWildcards($arguments[$argKey], $argKey);
63
- if ($sanitizedValue !== '') {
+ if (filled($sanitizedValue)) {
64
$options['--'.$cliOption] = $sanitizedValue;
65
}
66
0 commit comments