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 = 8-9 lines in 4 locations

src/form/AbstractForm.php 1 location

@@ 457-465 (lines=9) @@
454
     * @param $key
455
     * @return mixed|null
456
     */
457
    public function getAttrib($key)
458
    {
459
        $key = (string)$key;
460
        if (!isset($this->_attribs[$key])) {
461
            return null;
462
        }
463
464
        return $this->_attribs[$key];
465
    }
466
467
    /**
468
     * @return $this

src/form/Buttons/Abstract.php 1 location

@@ 37-44 (lines=8) @@
34
        return $this;
35
    }
36
37
    public function getAttrib($key)
38
    {
39
        $key = (string)$key;
40
        if (!isset($this->_attribs[$key])) {
41
            return null;
42
        }
43
44
        return $this->_attribs[$key];
45
    }
46
47
    /**

src/form/DisplayGroup.php 1 location

@@ 86-94 (lines=9) @@
83
     * @param $key
84
     * @return mixed|null
85
     */
86
    public function getAttrib($key)
87
    {
88
        $key = (string)$key;
89
        if (!isset($this->_attribs[$key])) {
90
            return null;
91
        }
92
93
        return $this->_attribs[$key];
94
    }
95
96
    /**
97
     * @return array

src/form/Elements/Abstract.php 1 location

@@ 62-69 (lines=8) @@
59
        return $this->getAttrib('id');
60
    }
61
62
    public function getAttrib($key)
63
    {
64
        $key = (string)$key;
65
        if (!isset($this->_attribs[$key])) {
66
            return null;
67
        }
68
69
        return $this->_attribs[$key];
70
    }
71
72
    /**