Skip to content

Commit

Permalink
Fixed phpunit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-eugone committed Jun 7, 2016
1 parent 09047fd commit 486c010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventListener/RouteAnnotationEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function getOptions($name, Route $route)
}
}

if (!is_array($option)) {
if (!is_array($option) && !is_bool($option)) {
$bool = filter_var($option, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);

if (null === $bool) {
Expand Down

0 comments on commit 486c010

Please sign in to comment.