mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -16,11 +16,13 @@ use Symfony\Component\Config\Loader\Loader;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\Routing\Route;
|
||||
use Symfony\Component\Routing\RouteCollection;
|
||||
|
||||
use function array_filter;
|
||||
use function array_keys;
|
||||
use function array_search;
|
||||
use function count;
|
||||
use function in_array;
|
||||
|
||||
use const ARRAY_FILTER_USE_BOTH;
|
||||
|
||||
class CRUDRoutesLoader extends Loader
|
||||
@@ -139,7 +141,9 @@ class CRUDRoutesLoader extends Loader
|
||||
|
||||
$methods = array_keys(array_filter(
|
||||
$action['methods'],
|
||||
static function ($value, $key) { return $value; },
|
||||
static function ($value, $key) {
|
||||
return $value;
|
||||
},
|
||||
ARRAY_FILTER_USE_BOTH
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user