Completed
Push — master ( 06ec20...3c403e )
by Wouter
16s queued 11s
created

DeliverySuccess::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 6
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 6
loc 6
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
crap 2
1
<?php
2
3
namespace NotificationChannels\AwsPinpoint\Events;
4
5 View Code Duplication
class DeliverySuccess
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
6
{
7
    public $number;
8
    public $message;
9
    public $statusMessage;
10
11
    /**
12
     * Create a new event instance.
13
     *
14
     * @param string $number
15
     * @param string $message
16
     * @param string $statusMessage
17
     */
18
    public function __construct($number, $message, $statusMessage)
19
    {
20
        $this->number = $number;
21
        $this->message = $message;
22
        $this->statusMessage = $statusMessage;
23
    }
24
}
25