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 = 10-10 lines in 2 locations

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

@@ 46-55 (lines=10) @@
43
     * @param             $name
44
     * @param             $label
45
     */
46
    public function __construct($name, $label = null, $options = [])
47
    {
48
        parent::__construct($name, $label);
49
50
        if (is_array($options)) {
51
            $this->setOptions($options);
52
        } elseif (($options instanceof Model) || is_string($options)) {
53
            $this->setModelForOptions($options);
54
        }
55
    }
56
57
    /**
58
     * @param bool $sortable

src/Form/Element/Select.php 1 location

@@ 46-55 (lines=10) @@
43
     * @param string|null $label
44
     * @param array|Model $options
45
     */
46
    public function __construct($path, $label = null, $options = [])
47
    {
48
        parent::__construct($path, $label);
49
50
        if (is_array($options)) {
51
            $this->setOptions($options);
52
        } elseif (($options instanceof Model) || is_string($options)) {
53
            $this->setModelForOptions($options);
54
        }
55
    }
56
57
    /**
58
     * @return array