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

src/AbstractWorkflow.php 2 locations

@@ 196-199 (lines=4) @@
193
     */
194
    protected function populateTransientMap(WorkflowEntryInterface $entry, TransientVarsInterface $transientVars, $registersStorage, $actionId = null, $currentSteps, PropertySetInterface $ps)
195
    {
196
        if (!is_array($currentSteps) && !$currentSteps  instanceof Traversable) {
197
            $errMsg = 'CurrentSteps должен быть массивом, либо реализовывать интерфейс Traversable';
198
            throw new InvalidArgumentException($errMsg);
199
        }
200
201
        if ($registersStorage instanceof Traversable) {
202
            $registers = [];
@@ 643-646 (lines=4) @@
640
     */
641
    protected function completeEntry(ActionDescriptor $action = null, $id, $currentSteps, $state)
642
    {
643
        if (!($currentSteps instanceof Traversable || is_array($currentSteps))) {
644
            $errMsg = 'CurrentSteps должен быть массивом, либо реализовывать интерфейс Traversable';
645
            throw new InvalidArgumentException($errMsg);
646
        }
647
648
649
        $this->getPersistence()->setEntryState($id, $state);