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

src/AbstractDbEntity.php 2 locations

@@ 266-278 (lines=13) @@
263
    /**
264
     * @return mixed|array
265
     */
266
    protected function getDbDataPrimaryValue()
267
    {
268
        if (is_array(static::$primaryDbPropertyKey)) {
269
            $primaryValues = [];
270
            foreach (static::$primaryDbPropertyKey as $propertyName) {
271
                $primaryValues[] = $this->getDbValue($propertyName);
272
            }
273
274
            return $primaryValues;
275
        }
276
277
        return $this->getDbValue(static::$primaryDbPropertyKey);
278
    }
279
280
    /**
281
     * @return mixed|array
@@ 283-295 (lines=13) @@
280
    /**
281
     * @return mixed|array
282
     */
283
    private function getDbDataPrimaryDefaultValue()
284
    {
285
        if (is_array(static::$primaryDbPropertyKey)) {
286
            $primaryValues = [];
287
            foreach (static::$primaryDbPropertyKey as $propertyName) {
288
                $primaryValues[] = $this->getDefaultDbPropertyValue($propertyName);
289
            }
290
291
            return $primaryValues;
292
        }
293
294
        return $this->getDefaultDbPropertyValue(static::$primaryDbPropertyKey);
295
    }
296
297
    /**
298
     * @return bool