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

src/Provider/UAParser.php 2 locations

@@ 164-181 (lines=18) @@
161
     * @param Model\Browser              $browser
162
     * @param \UAParser\Result\UserAgent $uaRaw
163
     */
164
    private function hydrateBrowser(Model\Browser $browser, \UAParser\Result\UserAgent $uaRaw)
165
    {
166
        if ($this->isRealResult($uaRaw->family) === true) {
167
            $browser->setName($uaRaw->family);
168
        }
169
170
        if ($this->isRealResult($uaRaw->major) === true) {
171
            $browser->getVersion()->setMajor($uaRaw->major);
172
        }
173
174
        if ($this->isRealResult($uaRaw->minor) === true) {
175
            $browser->getVersion()->setMinor($uaRaw->minor);
176
        }
177
178
        if ($this->isRealResult($uaRaw->patch) === true) {
179
            $browser->getVersion()->setPatch($uaRaw->patch);
180
        }
181
    }
182
183
    /**
184
     *
@@ 188-205 (lines=18) @@
185
     * @param Model\OperatingSystem            $os
186
     * @param \UAParser\Result\OperatingSystem $osRaw
187
     */
188
    private function hydrateOperatingSystem(Model\OperatingSystem $os, \UAParser\Result\OperatingSystem $osRaw)
189
    {
190
        if ($this->isRealResult($osRaw->family) === true) {
191
            $os->setName($osRaw->family);
192
        }
193
194
        if ($this->isRealResult($osRaw->major) === true) {
195
            $os->getVersion()->setMajor($osRaw->major);
196
        }
197
198
        if ($this->isRealResult($osRaw->minor) === true) {
199
            $os->getVersion()->setMinor($osRaw->minor);
200
        }
201
202
        if ($this->isRealResult($osRaw->patch) === true) {
203
            $os->getVersion()->setPatch($osRaw->patch);
204
        }
205
    }
206
207
    /**
208
     *