Completed
Push — master ( 7f0890...bb87b9 )
by Abdullah
02:52
created

ZendeskTicketWasUpdated   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 15
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace NotificationChannels\Zendesk\Events;
4
5
class ZendeskTicketWasUpdated
6
{
7
    public $ticket;
8
9
    /**
10
     * Create a new event instance.
11
     *
12
     * @param $ticket
13
     * @return void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
14
     */
15 1
    public function __construct($ticket)
16
    {
17 1
        $this->ticket = $ticket;
18 1
    }
19
}
20