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 = 6-6 lines in 2 locations

src/ObjectFactory.php 2 locations

@@ 239-244 (lines=6) @@
236
        if ($definition === null && !empty($secondaryTypes)) {
237
            foreach ($secondaryTypes as $secondaryType) {
238
                $propertyDefinitions = $secondaryType->getPropertyDefinitions();
239
                if (!empty($propertyDefinitions)) {
240
                    $definition = $secondaryType->getPropertyDefinition($propertyData->getId());
241
                    if ($definition !== null) {
242
                        break;
243
                    }
244
                }
245
            }
246
        }
247
@@ 257-262 (lines=6) @@
254
                foreach ($secondaryTypes as $secondaryType) {
255
                    $reloadedSecondaryType = $this->session->getTypeDefinition($secondaryType->getId(), false);
256
                    $propertyDefinitions = $reloadedSecondaryType->getPropertyDefinitions();
257
                    if (!empty($propertyDefinitions)) {
258
                        $definition = $reloadedSecondaryType->getPropertyDefinition($propertyData->getId());
259
                        if ($definition !== null) {
260
                            break;
261
                        }
262
                    }
263
                }
264
            }
265
        }