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

@@ 186-203 (lines=18) @@
183
     * @param Model\Browser              $browser
184
     * @param \UAParser\Result\UserAgent $uaRaw
185
     */
186
    private function hydrateBrowser(Model\Browser $browser, \UAParser\Result\UserAgent $uaRaw)
187
    {
188
        if ($this->isRealResult($uaRaw->family) === true) {
189
            $browser->setName($uaRaw->family);
190
        }
191
192
        if ($this->isRealResult($uaRaw->major) === true) {
193
            $browser->getVersion()->setMajor($uaRaw->major);
194
        }
195
196
        if ($this->isRealResult($uaRaw->minor) === true) {
197
            $browser->getVersion()->setMinor($uaRaw->minor);
198
        }
199
200
        if ($this->isRealResult($uaRaw->patch) === true) {
201
            $browser->getVersion()->setPatch($uaRaw->patch);
202
        }
203
    }
204
205
    /**
206
     *
@@ 210-227 (lines=18) @@
207
     * @param Model\OperatingSystem            $os
208
     * @param \UAParser\Result\OperatingSystem $osRaw
209
     */
210
    private function hydrateOperatingSystem(Model\OperatingSystem $os, \UAParser\Result\OperatingSystem $osRaw)
211
    {
212
        if ($this->isRealResult($osRaw->family) === true) {
213
            $os->setName($osRaw->family);
214
        }
215
216
        if ($this->isRealResult($osRaw->major) === true) {
217
            $os->getVersion()->setMajor($osRaw->major);
218
        }
219
220
        if ($this->isRealResult($osRaw->minor) === true) {
221
            $os->getVersion()->setMinor($osRaw->minor);
222
        }
223
224
        if ($this->isRealResult($osRaw->patch) === true) {
225
            $os->getVersion()->setPatch($osRaw->patch);
226
        }
227
    }
228
229
    /**
230
     *