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

src/Records/Relations/HasOneOrMany.php 1 location

@@ 95-101 (lines=7) @@
92
     * @param RecordCollection $collection
93
     * @return array
94
     */
95
    public function getEagerFkList(RecordCollection $collection)
96
    {
97
        $key = $collection->getManager()->getPrimaryKey();
98
        $return = HelperBroker::get('Arrays')->pluck($collection, $key);
99
100
        return array_unique($return);
101
    }
102
103
    /**
104
     * @param array $dictionary

src/Records/Relations/Relation.php 1 location

@@ 439-446 (lines=8) @@
436
     * @param RecordCollection $collection
437
     * @return array
438
     */
439
    public function getEagerFkList(RecordCollection $collection)
440
    {
441
        /** @var ArraysHelper $arrayHelper */
442
        $arrayHelper = HelperBroker::get('Arrays');
443
        $return = $arrayHelper->pluck($collection, $this->getFK());
444
445
        return array_unique($return);
446
    }
447
448
    /**
449
     * @return string