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

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