Skip to content

Commit

Permalink
Fix signed routes
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Aug 5, 2021
1 parent 7544a46 commit 96ec78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/UrlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function formatScheme($secure = null)
public function signedRoute($name, $parameters = [], $expiration = null, $absolute = true)
{
$this->ensureSignedRouteParametersAreNotReserved(
$parameters = $this->formatParameters($parameters)
$parameters = Arr::wrap($parameters)
);

if ($expiration) {
Expand Down

0 comments on commit 96ec78c

Please sign in to comment.