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

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