Skip to content

Commit

Permalink
JRouterInstallation::parse() made compatible with the interface (Fix #…
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar authored and Michael Babker committed Nov 23, 2014
1 parent 15f157c commit 121e645
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions installation/application/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ class JRouterInstallation extends JRouter
/**
* Function to convert a route to an internal URI
*
* @param JUri $url The uri.
* @param JUri &$url The uri.
*
* @return boolean
*
* @since 1.5
*/
public function parse($url)
public function parse(&$url)
{
return true;
}

/**
* Function to convert an internal URI to a route
*
* @param string $url The internal URL
* @param string &$url The internal URL
*
* @return string The absolute search engine friendly URL
*
* @since 1.5
*/
public function build($url)
public function build(&$url)
{
$url = str_replace('&', '&', $url);

Expand Down

0 comments on commit 121e645

Please sign in to comment.