updated core and modules
This commit is contained in:
+4
-4
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* This file is part of the Symfony CMF package.
|
||||
*
|
||||
* (c) 2011-2014 Symfony CMF
|
||||
* (c) 2011-2015 Symfony CMF
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
@@ -57,7 +57,7 @@ class ChainRouteCollection extends RouteCollection
|
||||
{
|
||||
$count = 0;
|
||||
foreach ($this->routeCollections as $routeCollection) {
|
||||
$count+= $routeCollection->count();
|
||||
$count += $routeCollection->count();
|
||||
}
|
||||
|
||||
return $count;
|
||||
@@ -106,11 +106,11 @@ class ChainRouteCollection extends RouteCollection
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes a route or an array of routes by name from the collection
|
||||
* Removes a route or an array of routes by name from the collection.
|
||||
*
|
||||
* @param string|array $name The route name or an array of route names
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user