Let's be gentle and allow FALSE too
parent
ef92a06205
commit
47d75f77d5
|
@ -373,8 +373,9 @@ EOT
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (1 === count($values) && $booleanValidator($values[0])) {
|
if (1 === count($values)) {
|
||||||
if (false === $booleanNormalizer($values[0])) {
|
$bool = strtolower($values[0]);
|
||||||
|
if (true === $booleanValidator($bool) && false === $booleanNormalizer($bool)) {
|
||||||
return $this->configSource->addRepository($matches[1], false);
|
return $this->configSource->addRepository($matches[1], false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue