Skip to content

Commit

Permalink
Fix cacheable this error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles Johnson committed Feb 27, 2015
1 parent 780c639 commit 898821d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UrlBuilder.hh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class UrlBuilder {
* @return string
*/
public function url(): string {
return (string) $this->cache(__METHOD__, (UrlBuilder $builder) ==> {
return (string) $this->cache(__METHOD__, ($builder) ==> {
$router = $builder->getRouter();
$segments = $router->getSegments();
$base = $router->base();
Expand Down

0 comments on commit 898821d

Please sign in to comment.