<commit_before><?php

namespace DZunke\FeatureFlagsBundle;

use DZunke\FeatureFlagsBundle\Toggle\Flag;

class Toggle
{

    /**
     * @var bool
     */
    private $defaultState = true;

    /**
     * @var Flag[]
     */
    private $flags = [];

    /**
     * @param bool $defaultState
     * @return $this
     */
    public function setDefaultState($defaultState)
    {
        $this->defaultState = (bool)$defaultState;

        return $this;
    }

    /**
     * @param Flag $flag
     * @return $this
     */<commit_msg>Removed default state from the toggle object to the compiler pas<commit_after><?php

namespace DZunke\FeatureFlagsBundle;

use DZunke\FeatureFlagsBundle\Toggle\Flag;

class Toggle
{

    /**
     * @var bool
     */
    private $defaultState;

    /**
     * @var Flag[]
     */
    private $flags = [];

    /**
     * @param bool $defaultState
     * @return $this
     */
    public function setDefaultState($defaultState)
    {
        $this->defaultState = (bool)$defaultState;

        return $this;
    }

    /**
     * @param Flag $flag
     * @return $this
     */
{'fraction_non_alphanumeric': 0.13134057971014493, 'fraction_numerical': 0.0, 'mean_word_length': 2.0609418282548475, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2161045', 'n_tokens_mistral': 350, 'n_tokens_neox': 341, 'n_words': 75}