GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 15-15 lines in 2 locations

src/Display/Column/Filter/Select.php 1 location

@@ 122-136 (lines=15) @@
119
    /**
120
     * @return array
121
     */
122
    public function getOptions()
123
    {
124
        if (! is_null($this->getModelForOptions()) and ! is_null($this->getDisplay())) {
125
            $this->setOptions(
126
                $this->loadOptions()
127
            );
128
        }
129
130
        $options = $this->options;
131
        if ($this->isSortable()) {
132
            asort($options);
133
        }
134
135
        return $options;
136
    }
137
138
    /**
139
     * @param array $options

src/Form/Element/Select.php 1 location

@@ 55-69 (lines=15) @@
52
    /**
53
     * @return array
54
     */
55
    public function getOptions()
56
    {
57
        if (! is_null($this->getModelForOptions()) && ! is_null($this->getDisplay())) {
58
            $this->setOptions(
59
                $this->loadOptions()
60
            );
61
        }
62
63
        $options = array_except($this->options, $this->exclude);
64
        if ($this->isSortable()) {
65
            asort($options);
66
        }
67
68
        return $options;
69
    }
70
71
    /**
72
     * @param array