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

@@ 206-209 (lines=4) @@
203
     */
204
    protected function populateTransientMap(WorkflowEntryInterface $entry, TransientVarsInterface $transientVars, $registersStorage, $actionId = null, $currentSteps, PropertySetInterface $ps)
205
    {
206
        if (!is_array($currentSteps) && !$currentSteps  instanceof Traversable) {
207
            $errMsg = 'CurrentSteps должен быть массивом, либо реализовывать интерфейс Traversable';
208
            throw new InvalidArgumentException($errMsg);
209
        }
210
211
        if ($registersStorage instanceof Traversable) {
212
            $registers = [];
@@ 653-656 (lines=4) @@
650
     */
651
    protected function completeEntry(ActionDescriptor $action = null, $id, $currentSteps, $state)
652
    {
653
        if (!($currentSteps instanceof Traversable || is_array($currentSteps))) {
654
            $errMsg = 'CurrentSteps должен быть массивом, либо реализовывать интерфейс Traversable';
655
            throw new InvalidArgumentException($errMsg);
656
        }
657
658
659
        $this->getPersistence()->setEntryState($id, $state);