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.

CallerEvent   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 32
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCaller() 0 4 1
A setCaller() 0 6 1
1
<?php
2
/**
3
 * @link https://github.com/old-town/workflow-zf2
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace  OldTown\Workflow\ZF2\Event;
7
8
use Zend\EventManager\Event;
9
10
/**
11
 * Class CallerEvent
12
 *
13
 * @package OldTown\Workflow\ZF2\Event
14
 */
15
class CallerEvent extends Event
16
{
17
    /**
18
     * @var string
19
     */
20
    const EVENT_RESOLVE_CALLER = 'workflow.basic.resolve.caller';
21
22
    /**
23
     * @var string|null
24
     */
25
    protected $caller;
26
27
    /**
28
     * @return null|string
29
     */
30
    public function getCaller()
31
    {
32
        return $this->caller;
33
    }
34
35
    /**
36
     * @param null|string $caller
37
     *
38
     * @return $this
39
     */
40
    public function setCaller($caller)
41
    {
42
        $this->caller = $caller;
43
44
        return $this;
45
    }
46
}
47