Skip to content

Conversation

@mateusjatenee
Copy link
Contributor

The command does not exist

@taylorotwell taylorotwell merged commit 813f66f into main Aug 7, 2025
3 of 12 checks passed
@taylorotwell taylorotwell deleted the mateusjatenee-patch-1 branch August 7, 2025 13:53
@ghost ghost mentioned this pull request Aug 13, 2025
systempath added a commit to systempath/boost that referenced this pull request Sep 28, 2025
The ListRoutes tool was throwing a type error when boolean parameters
(except_vendor, only_vendor) were passed because str_replace() was
being called on boolean values. This fix adds type checking to handle
boolean parameters separately from string parameters.

The error was: "str_replace(): Argument laravel#3 ($subject) must be of type
array|string, true given"

Boolean parameters are now properly passed to the artisan command
without string manipulation, while string parameters continue to have
wildcard characters sanitized.
systempath added a commit to systempath/boost that referenced this pull request Sep 28, 2025
The ListRoutes tool was throwing a type error when boolean parameters
(except_vendor, only_vendor) were passed because str_replace() was
being called on boolean values. This fix adds type checking to handle
boolean parameters separately from string parameters.

The error was: "str_replace(): Argument laravel#3 ($subject) must be of type
array|string, true given"

Boolean parameters are now properly passed to the artisan command
without string manipulation, while string parameters continue to have
wildcard characters sanitized.
taylorotwell pushed a commit that referenced this pull request Oct 14, 2025
* Fix boolean parameter handling in ListRoutes MCP tool

The ListRoutes tool was throwing a type error when boolean parameters
(except_vendor, only_vendor) were passed because str_replace() was
being called on boolean values. This fix adds type checking to handle
boolean parameters separately from string parameters.

The error was: "str_replace(): Argument #3 ($subject) must be of type
array|string, true given"

Boolean parameters are now properly passed to the artisan command
without string manipulation, while string parameters continue to have
wildcard characters sanitized.

* Fix boolean parameter handling in ListRoutes MCP tool

The ListRoutes tool was throwing a type error when boolean parameters
(except_vendor, only_vendor) were passed because str_replace() was
being called on boolean values. This fix adds type checking to handle
boolean parameters separately from string parameters.

The error was: "str_replace(): Argument #3 ($subject) must be of type
array|string, true given"

Boolean parameters are now properly passed to the artisan command
without string manipulation, while string parameters continue to have
wildcard characters sanitized.

---------

Co-authored-by: systempath <12485137+weburway@users.noreply.github.com>
Co-authored-by: Pushpak Chhajed <pushpak@laravel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants