Browse Source

[Config][BooleanNode] Tweak the code

Victor Berchet 14 years ago
parent
commit
687c4dfeb1
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/Symfony/Component/Config/Definition/BooleanNode.php

+ 0 - 2
src/Symfony/Component/Config/Definition/BooleanNode.php

@@ -20,8 +20,6 @@ class BooleanNode extends ScalarNode
      */
     protected function validateType($value)
     {
-        parent::validateType($value);
-
         if (!is_bool($value)) {
             throw new InvalidTypeException(sprintf(
                 'Invalid type for path "%s". Expected boolean, but got %s.',