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

src/JsonField.php 2 locations

@@ 96-104 (lines=9) @@
93
    /**
94
     * @inheritdoc
95
     */
96
    public function &offsetGet($offset)
97
    {
98
        $null = null;
99
        if (isset($this->value[$offset])) {
100
            return $this->value[$offset];
101
        } else {
102
            return $null;
103
        }
104
    }
105
106
    /**
107
     * @inheritdoc
@@ 109-116 (lines=8) @@
106
    /**
107
     * @inheritdoc
108
     */
109
    public function offsetSet($offset, $value)
110
    {
111
        if ($offset === null) {
112
            $this->value[] = $value;
113
        } else {
114
            $this->value[$offset] = $value;
115
        }
116
    }
117
118
    /**
119
     * @inheritdoc