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 3 locations

src/form/AbstractForm.php 1 location

@@ 542-550 (lines=9) @@
539
     * @param $key
540
     * @return bool
541
     */
542
    public function removeAttrib($key)
543
    {
544
        if (isset($this->_attribs[$key])) {
545
            unset($this->_attribs[$key]);
546
547
            return true;
548
        }
549
550
        return false;
551
    }
552
553
    /**

src/form/Buttons/Abstract.php 1 location

@@ 156-163 (lines=8) @@
153
    /**
154
     * @return bool
155
     */
156
    public function removeAttrib($key)
157
    {
158
        if (isset($this->_attribs[$key])) {
159
            unset($this->_attribs[$key]);
160
161
            return true;
162
        }
163
164
        return false;
165
    }
166

src/form/Elements/Abstract.php 1 location

@@ 413-420 (lines=8) @@
410
    /**
411
     * @return bool
412
     */
413
    public function removeAttrib($key)
414
    {
415
        if (isset($this->_attribs[$key])) {
416
            unset($this->_attribs[$key]);
417
418
            return true;
419
        }
420
421
        return false;
422
    }
423