We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tenant_helper() method has a $parameters parameter.
tenant_helper()
$parameters
This is currently set to accept an array.
array
It should be left as mixed to allow for non-arrays to be used, just like the route() helper method.
route()
tenant_route('foo', $bar)
Using tenant_route('foo', $bar) should work in the same way that route('foo', $bar) would work.
route('foo', $bar)
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting. Nice catch.
Can you make a PR that removes the typehint?
Sorry, something went wrong.
Fixed.
That was quick, thanks @stancl 👍
stancl
No branches or pull requests
Describe the bug
The
tenant_helper()
method has a$parameters
parameter.This is currently set to accept an
array
.It should be left as mixed to allow for non-arrays to be used, just like the
route()
helper method.Steps to reproduce
tenant_route('foo', $bar)
Expected behavior
Using
tenant_route('foo', $bar)
should work in the same way thatroute('foo', $bar)
would work.Your setup
The text was updated successfully, but these errors were encountered: