src/Type/BooleanType.php
public function guard($value, Field $field)
    {
        Assertion::boolean($value, null, $field->getName());
    }
public function guard($value, Field $field)
    {
        Assertion::boolean($value, null, $field->getName());
    }
{@inheritdoc}