Completed
Pull Request — master (#16)
by Alessandro
06:12
created

SmsMessageSent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 17
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Fazland\SkebbyRestClient\Event;
6
7
use Fazland\SkebbyRestClient\DataStructure\Sms;
8
9
final class SmsMessageSent
10
{
11
    private Sms $sms;
0 ignored issues
show
Bug introduced by
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_STRING, expecting T_FUNCTION or T_CONST
Loading history...
12
13
    public function __construct(Sms $sms)
14
    {
15
        $this->sms = $sms;
16
    }
17
18
    public function getSms(): Sms
19
    {
20
        return $this->sms;
21
    }
22
}
23