Skip to content

Commit

Permalink
Use full name for $sep
Browse files Browse the repository at this point in the history
  • Loading branch information
klg committed Mar 26, 2021
1 parent f58dc3c commit 0e182b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UrlGeneratorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public function addSid($url, ?\Illuminate\Routing\Route $route = null)
return $url;
}

$sep = (strpos($url, '?') !== false) ? '&' : '?';
$url .= $sep . \Config::get('session.cookie') . '=' . \Session::getId();
$separator = (strpos($url, '?') !== false) ? '&' : '?';
$url .= $separator . \Config::get('session.cookie') . '=' . \Session::getId();

return $url;
}
Expand Down

0 comments on commit 0e182b0

Please sign in to comment.