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.

TransitionResult::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
rs 9.4285
cc 1
eloc 5
nc 1
nop 4
1
<?php
2
/**
3
 * @link    https://github.com/old-town/workflow-zf2
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace OldTown\Workflow\ZF2\ServiceEngine\Workflow;
7
8
use OldTown\Workflow\Loader\WorkflowDescriptor;
9
use OldTown\Workflow\TransientVars\TransientVarsInterface;
10
use OldTown\Workflow\WorkflowInterface;
11
12
13
/**
14
 * Class TransitionResult
15
 *
16
 * @package OldTown\Workflow\ZF2\ServiceEngine\Workflow
17
 */
18
class TransitionResult implements TransitionResultInterface
19
{
20
    use TransitionResultTrait;
21
22
    /**
23
     * @param                           $entryId
24
     * @param WorkflowInterface         $workflowManager
25
     * @param WorkflowDescriptor        $workflow
26
     * @param TransientVarsInterface    $transientVars
27
     */
28
    public function __construct($entryId, WorkflowInterface $workflowManager, WorkflowDescriptor $workflow, TransientVarsInterface $transientVars)
29
    {
30
        $this->setEntryId($entryId);
31
        $this->setWorkflowManager($workflowManager);
32
        $this->setWorkflow($workflow);
33
        $this->setTransientVars($transientVars);
34
    }
35
}
36