This commit is contained in:
Fabien Potencier 2017-09-11 10:58:01 -07:00
parent b1b686081b
commit 2c62ba8150
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ class Configuration implements ConfigurationInterface
$workflows = $v;
unset($workflows['enabled']);
if (count($workflows) === 1 && isset($workflows[0]['enabled'])) {
if (1 === count($workflows) && isset($workflows[0]['enabled'])) {
$workflows = array();
}