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

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