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

src/form/AbstractForm.php 1 location

@@ 428-436 (lines=9) @@
425
     * @param $key
426
     * @return mixed|null
427
     */
428
    public function getOption($key)
429
    {
430
        $key = (string)$key;
431
        if (!isset($this->_options[$key])) {
432
            return null;
433
        }
434
435
        return $this->_options[$key];
436
    }
437
438
    /**
439
     * @return $this

src/form/Elements/Abstract.php 1 location

@@ 441-449 (lines=9) @@
438
     * @param $key
439
     * @return null
440
     */
441
    public function getOption($key)
442
    {
443
        $key = (string)$key;
444
        if (!isset($this->_options[$key])) {
445
            return null;
446
        }
447
448
        return $this->_options[$key];
449
    }
450
451
    /**
452
     * @param string $type