<commit_before><?php

namespace JanDolata\CrudeCRUD\Engine\CrudeSetupTrait;

trait SelectOptions
{
    /**
     * Select options
     *
     * @var array
     */
    protected $selectOptions = [];

    /**
     * Gets the Select options.
     *
     * @return array
     */
    public function getSelectOptions()
    {
        return $this->selectOptions;
    }

    /**
     * Sets the Select options.
     *
     * @param array $selectOptions the select options
     *
     * @return self
     */
    protected function setSelectOptions($attr, $options = null)
    {
        $optionsList = is_array($attr)
            ? $attr
            : [$attr => $options];

        $this->selectOptions = array_merge($this->selectOptions, $optionsList);

        return $this;
    }
}<commit_msg>public setSelectOptions<commit_after><?php

namespace JanDolata\CrudeCRUD\Engine\CrudeSetupTrait;

trait SelectOptions
{
    /**
     * Select options
     *
     * @var array
     */
    protected $selectOptions = [];

    /**
     * Gets the Select options.
     *
     * @return array
     */
    public function getSelectOptions()
    {
        return $this->selectOptions;
    }

    /**
     * Sets the Select options.
     *
     * @param array $selectOptions the select options
     *
     * @return self
     */
    public function setSelectOptions($attr, $options = null)
    {
        $optionsList = is_array($attr)
            ? $attr
            : [$attr => $options];

        $this->selectOptions = array_merge($this->selectOptions, $optionsList);

        return $this;
    }
}
{'fraction_non_alphanumeric': 0.11906269791006967, 'fraction_numerical': 0.0, 'mean_word_length': 1.9699248120300752, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '5926849', 'n_tokens_mistral': 468, 'n_tokens_neox': 456, 'n_words': 99}