We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b9f2f commit 9bfad65Copy full SHA for 9bfad65
DependencyInjection/Configuration.php
@@ -711,7 +711,7 @@ public function getConfigTreeBuilder()
711
->thenInvalid('You can not use excluded_http_codes together with excluded_404s in a FingersCrossedHandler')
712
->end()
713
->validate()
714
- ->ifTrue(function ($v) { return 'fingers_crossed' !== $v['type'] && !empty($v['excluded_http_codes']) || !empty($v['excluded_404s']); })
+ ->ifTrue(function ($v) { return 'fingers_crossed' !== $v['type'] && (!empty($v['excluded_http_codes']) || !empty($v['excluded_404s'])); })
715
->thenInvalid('You can only use excluded_http_codes/excluded_404s with a FingersCrossedHandler definition')
716
717
0 commit comments