mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-14 02:34:58 +00:00
cs: Fix code style (safe rules only).
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Chill\MainBundle\Routing\Loader;
|
||||
@@ -8,7 +15,7 @@ use Symfony\Component\Config\Loader\Loader;
|
||||
use Symfony\Component\Routing\RouteCollection;
|
||||
|
||||
/**
|
||||
* Import routes from bundles
|
||||
* Import routes from bundles.
|
||||
*
|
||||
* Routes must be defined in configuration, add an entry
|
||||
* under `chill_main.routing.resources`
|
||||
@@ -30,7 +37,7 @@ class ChillRoutesLoader extends Loader
|
||||
|
||||
foreach ($this->routes as $routeResource) {
|
||||
$collection->addCollection(
|
||||
$this->import($routeResource, NULL)
|
||||
$this->import($routeResource, null)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -41,5 +48,4 @@ class ChillRoutesLoader extends Loader
|
||||
{
|
||||
return 'chill_routes' === $type;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user