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

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