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 3 locations

src/AbstractWorkflow.php 1 location

@@ 260-263 (lines=4) @@
257
     */
258
    protected function validateIterateData($data)
259
    {
260
        if (!is_array($data) && !$data  instanceof Traversable) {
261
            $errMsg = 'Data not iterate';
262
            throw new InvalidArgumentException($errMsg);
263
        }
264
    }
265
266

src/Engine/Data.php 1 location

@@ 43-46 (lines=4) @@
40
     */
41
    public function populateTransientMap(WorkflowEntryInterface $entry, TransientVarsInterface $transientVars, $registersStorage, $actionId = null, $currentSteps, PropertySetInterface $ps)
42
    {
43
        if (!is_array($currentSteps) && !$currentSteps  instanceof Traversable) {
44
            $errMsg = 'Current steps not valid';
45
            throw new InvalidArgumentException($errMsg);
46
        }
47
48
        $workflowManager = $this->getWorkflowManager();
49
        $context = $workflowManager->getContext();

src/Engine/Entry.php 1 location

@@ 34-37 (lines=4) @@
31
     */
32
    public function completeEntry(ActionDescriptor $action = null, $id, $currentSteps, $state)
33
    {
34
        if (!is_array($currentSteps) && !$currentSteps  instanceof Traversable) {
35
            $errMsg = 'Invalid currentSteps';
36
            throw new InvalidArgumentException($errMsg);
37
        }
38
39
        $workflowManager = $this->getWorkflowManager();
40
        $context = $workflowManager->getContext();