<commit_before><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\Db\Sql\Ddl\Column;

class Boolean extends Column
{
    /**
     * @var string
     */
    protected $type = 'TINYINT';

    /**
     * @return array
     */
    public function getExpressionData()
    {
        $this->isNullable = false;

        return parent::getExpressionData();
    }
}
<commit_msg>zendframework/zf2#6257 - making `Boolean` always not-nullable<commit_after><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\Db\Sql\Ddl\Column;

class Boolean extends Column
{
    /**
     * @var string
     */
    protected $type = 'TINYINT';

    /**
     * {@inheritDoc}
     */
    protected $isNullable = false;

    /**
     * {@inheritDoc}
     */
    public function setNullable($nullable)
    {
        return parent::setNullable(false);
    }
}

{'fraction_non_alphanumeric': 0.1442097596504006, 'fraction_numerical': 0.016751638747268753, 'mean_word_length': 2.6737967914438503, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7533304', 'n_tokens_mistral': 454, 'n_tokens_neox': 425, 'n_words': 95}