Passed
Push — master ( 1828fb...5ac899 )
by Zing
06:56
created

SmsNumber   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 3
b 0
f 0
dl 0
loc 12
ccs 3
cts 3
cp 1
rs 10

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 1
    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
    /**
15
     * @param \Illuminate\Notifications\Notification $notification
16
     *
17
     * @return $this
18
     */
19 1
    public function routeNotificationForSms()
20
    {
21 1
        return $this;
22
    }
23
}
24