src/Widop/Twitter/Options/AbstractBooleanOption.php
public function setValue($value)
    {
        if (!is_bool($value) && ($value !== null)) {
            throw new \InvalidArgumentException(sprintf(
                'The option "%s" only accepts boolean value.',
                $this->getName()
            ));
        }

        parent::setValue($value);
    }
public function setValue($value)
    {
        if (!is_bool($value) && ($value !== null)) {
            throw new \InvalidArgumentException(sprintf(
                'The option "%s" only accepts boolean value.',
                $this->getName()
            ));
        }

        parent::setValue($value);
    }
{@inheritdoc}