Skip to content

Commit

Permalink
Remove inline assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 15, 2012
1 parent a203d67 commit 9320b19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/Routing/RouteCollection.php
Expand Up @@ -165,9 +165,9 @@ protected function _getNames($url) {
public function parse($url) {
$out = array();
for ($i = 0, $len = count($this); $i < $len; $i++) {
if (($r = $this->_routes[$i]->parse($url)) !== false) {
$out = $r;
break;
$r = $this->_routes[$i]->parse($url);
if ($r !== false) {
return $r;
}
}
return $out;
Expand Down

0 comments on commit 9320b19

Please sign in to comment.