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/Controller.php 1 location

@@ 58-65 (lines=8) @@
55
     * @param $arguments
56
     * @return bool|mixed
57
     */
58
    public function __call($name, $arguments)
59
    {
60
        if ($name === ucfirst($name)) {
61
            return $this->getHelper($name);
62
        }
63
64
        return trigger_error("Call to undefined method [$name] in controller [{$this->getClassName()}]", E_USER_ERROR);
65
    }
66
67
    /**
68
     * @param $name

src/Records/AbstractModels/Record.php 1 location

@@ 38-46 (lines=9) @@
35
     * @param array $arguments
36
     * @return mixed
37
     */
38
    public function __call($name, $arguments)
39
    {
40
        if ($name === ucfirst($name)) {
41
            return $this->getHelper($name);
42
        }
43
44
        trigger_error("Call to undefined method $name", E_USER_ERROR);
45
        return null;
46
    }
47
48
    /**
49
     * @param $name

src/View.php 1 location

@@ 38-46 (lines=9) @@
35
     * @param $arguments
36
     * @return mixed|null
37
     */
38
    public function __call($name, $arguments)
39
    {
40
        if ($name === ucfirst($name)) {
41
            return $this->getHelper($name);
42
        } else {
43
            trigger_error("Call to undefined method $name", E_USER_ERROR);
44
        }
45
        return null;
46
    }
47
48
    /**
49
     * @param $name