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

@@ 157-174 (lines=18) @@
154
     * @param Model\Browser              $browser
155
     * @param \UAParser\Result\UserAgent $uaRaw
156
     */
157
    private function hydrateBrowser(Model\Browser $browser, \UAParser\Result\UserAgent $uaRaw)
158
    {
159
        if ($this->isRealResult($uaRaw->family) === true) {
160
            $browser->setName($uaRaw->family);
161
        }
162
163
        if ($this->isRealResult($uaRaw->major) === true) {
164
            $browser->getVersion()->setMajor($uaRaw->major);
165
        }
166
167
        if ($this->isRealResult($uaRaw->minor) === true) {
168
            $browser->getVersion()->setMinor($uaRaw->minor);
169
        }
170
171
        if ($this->isRealResult($uaRaw->patch) === true) {
172
            $browser->getVersion()->setPatch($uaRaw->patch);
173
        }
174
    }
175
176
    /**
177
     *
@@ 181-198 (lines=18) @@
178
     * @param Model\OperatingSystem            $os
179
     * @param \UAParser\Result\OperatingSystem $osRaw
180
     */
181
    private function hydrateOperatingSystem(Model\OperatingSystem $os, \UAParser\Result\OperatingSystem $osRaw)
182
    {
183
        if ($this->isRealResult($osRaw->family) === true) {
184
            $os->setName($osRaw->family);
185
        }
186
187
        if ($this->isRealResult($osRaw->major) === true) {
188
            $os->getVersion()->setMajor($osRaw->major);
189
        }
190
191
        if ($this->isRealResult($osRaw->minor) === true) {
192
            $os->getVersion()->setMinor($osRaw->minor);
193
        }
194
195
        if ($this->isRealResult($osRaw->patch) === true) {
196
            $os->getVersion()->setPatch($osRaw->patch);
197
        }
198
    }
199
200
    /**
201
     *