Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class SmsChannel |
||
11 | { |
||
12 | /** |
||
13 | * Send notification. |
||
14 | * |
||
15 | * @param $notifiable |
||
16 | * @param Notification $notification |
||
17 | * |
||
18 | * @throws Exception |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function send($notifiable, Notification $notification): void |
||
28 | } |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Validate sms. |
||
33 | * |
||
34 | * @throws Exception |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | protected function validate($manager): void |
||
45 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.