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

src/AbstractDbEntity.php 2 locations

@@ 414-418 (lines=5) @@
411
     */
412
    public function setDbData(array $data)
413
    {
414
        foreach (array_keys(static::$dbProperties) as $propertyName) {
415
            if (array_key_exists($propertyName, $data)) {
416
                $this->setDbValue($propertyName, $data[$propertyName], true);
417
            }
418
        }
419
    }
420
421
    /**
@@ 438-443 (lines=6) @@
435
            }
436
        // If there are more row data than properties, use properties as starting point
437
        } else {
438
            foreach (array_keys(static::$dbProperties) as $propertyName) {
439
                $fieldName = static::getDbFieldName($propertyName);
440
                if (array_key_exists($fieldName, $rowData)) {
441
                    $this->setDbValue($propertyName, $rowData[$fieldName], false);
442
                }
443
            }
444
        }
445
    }
446