Added missing paren from previous commit.
This commit is contained in:
parent
2413b9cc63
commit
cd7e1eb664
|
@ -53,7 +53,7 @@ public static function find($name)
|
||||||
{
|
{
|
||||||
$route = $recursiveIterator->getSubIterator();
|
$route = $recursiveIterator->getSubIterator();
|
||||||
|
|
||||||
if (isset($route['name'] and $route['name'] == $name)
|
if (isset($route['name']) and $route['name'] == $name)
|
||||||
{
|
{
|
||||||
return static::$names[$name] = array($arrayIterator->key() => iterator_to_array($route));
|
return static::$names[$name] = array($arrayIterator->key() => iterator_to_array($route));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue