src/Type/BooleanType.php
public function decode($value, Field $field, Codec $codec = null)
    {
        return filter_var($value, FILTER_VALIDATE_BOOLEAN);
    }
public function decode($value, Field $field, Codec $codec = null)
    {
        return filter_var($value, FILTER_VALIDATE_BOOLEAN);
    }
{@inheritdoc}