We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e187c68 commit b09bc7bCopy full SHA for b09bc7b
1 file changed
src/M6Web/Bundle/LogBridgeBundle/Config/FilterParser.php
@@ -74,7 +74,7 @@ public function parse(string $name, array $config): Filter
74
throw new ParseException(sprintf('Undefined "route(s)", "method" or "status" parameter from filter "%s"', $name));
75
}
76
77
- if (array_key_exists('route', $config) && array_key_exists('routes', $config)) {
+ if ((array_key_exists('route', $config) && $config['route'] !== null) && (array_key_exists('routes', $config) && !empty($config['routes']))) {
78
throw new ParseException(sprintf('You can\'t use both "route" and "routes" parameter from filter "%s"', $name));
79
80
0 commit comments