Some generic code refactoring.

This commit is contained in:
James Cole
2019-06-21 19:10:02 +02:00
parent fb1af395f9
commit 2d3d7f7720
67 changed files with 920 additions and 603 deletions

View File

@@ -213,7 +213,7 @@ class DebugController extends Controller
/** @var Route $route */
foreach ($set as $route) {
$name = (string)$route->getName();
if (\in_array('GET', $route->methods(), true)) {
if (in_array('GET', $route->methods(), true)) {
$found = false;
foreach ($ignore as $string) {
if (!(false === stripos($name, $string))) {