Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed some unnecessary return by reference method signatures since …
…objects are always returned by reference
  • Loading branch information
wbond committed Nov 23, 2010
1 parent 18ed4ad commit 188591f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Moor.php
Expand Up @@ -1025,7 +1025,7 @@ private static function makePath($callback_string, $ds=NULL)
* @param string $callback_string The callback
* @return object The callback object
*/
private static function &parseCallback($callback_string)
private static function parseCallback($callback_string)
{
$callback = (object) trim($callback_string, '\\');

Expand Down Expand Up @@ -1080,7 +1080,7 @@ private static function parseClass($class)
* @param string $url_string The URL string (either shorthand or a regular expression)
* @return object The URL object
*/
private static function &parseUrl($url_string)
private static function parseUrl($url_string)
{
$url = (object) $url_string;
$url->shorthand = trim($url_string);
Expand Down

0 comments on commit 188591f

Please sign in to comment.