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

@@ 183-186 (lines=4) @@
180
     */
181
    protected function populateTransientMap(WorkflowEntryInterface $entry, TransientVarsInterface $transientVars, $registersStorage, $actionId = null, $currentSteps, PropertySetInterface $ps)
182
    {
183
        if (!is_array($currentSteps) && !$currentSteps  instanceof Traversable) {
184
            $errMsg = 'CurrentSteps должен быть массивом, либо реализовывать интерфейс Traversable';
185
            throw new InvalidArgumentException($errMsg);
186
        }
187
188
        if ($registersStorage instanceof Traversable) {
189
            $registers = [];
@@ 630-633 (lines=4) @@
627
     */
628
    protected function completeEntry(ActionDescriptor $action = null, $id, $currentSteps, $state)
629
    {
630
        if (!($currentSteps instanceof Traversable || is_array($currentSteps))) {
631
            $errMsg = 'CurrentSteps должен быть массивом, либо реализовывать интерфейс Traversable';
632
            throw new InvalidArgumentException($errMsg);
633
        }
634
635
636
        $this->getPersistence()->setEntryState($id, $state);