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

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