Passed
Push — master ( b1815f...832dc3 )
by Zing
06:57
created

SmsNumber   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 7
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A routeNotificationForSms() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Zing\LaravelSms;
6
7
use Illuminate\Notifications\Notifiable;
8
use Overtrue\EasySms\PhoneNumber;
9
10
class SmsNumber extends PhoneNumber
11
{
12
    use Notifiable;
0 ignored issues
show
Bug introduced by
The trait Illuminate\Notifications\Notifiable requires the property $email which is not provided by Zing\LaravelSms\SmsNumber.
Loading history...
13
14 2
    public function routeNotificationForSms()
15
    {
16 2
        return $this;
17
    }
18
}
19