JiraTicketMappedEvent::ticket()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace AppBuilder\Event\Application;
6
7
use Symfony\Component\EventDispatcher\Event;
8
9
class JiraTicketMappedEvent extends Event
10
{
11
    /** @var string */
12
    public const NAME = 'jira.ticket.mapped';
13
14
    /** @var array */
15
    private $ticket;
16
17
    public function __construct(array $ticket)
18
    {
19
        $this->ticket = $ticket;
20
    }
21
22
    public function ticket() : array
23
    {
24
        return $this->ticket;
25
    }
26
}
27