Skip to content

Conversation

@Daanra
Copy link
Contributor

@Daanra Daanra commented Oct 4, 2020

The PHPDoc typehint for $parameters is incorrect. Like many other route methods signedRoute does not require an array as its second argument. Both of these calls are valid:

URL::signedRoute('route-name', 1);
URL::signedRoute('route-name', User::find(1));

@taylorotwell taylorotwell merged commit 8de2c9d into laravel:6.x Oct 5, 2020
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