Total Complexity | 4 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
5 | trait HasRakshak |
||
6 | { |
||
7 | use HasRoles; |
||
8 | |||
9 | /** |
||
10 | * Route notifications for the Mail channel. |
||
11 | * |
||
12 | * @param \Illuminate\Notifications\Notification $notification |
||
13 | * @return string |
||
14 | */ |
||
15 | public function routeNotificationForMail($notification) |
||
|
|||
16 | { |
||
17 | return $this->email; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Route notifications for the Nexmo channel. |
||
22 | * |
||
23 | * @param \Illuminate\Notifications\Notification $notification |
||
24 | * @return string |
||
25 | */ |
||
26 | public function routeNotificationForNexmo($notification) |
||
27 | { |
||
28 | return $this->mobile; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Route notifications for the Textlocal channel. |
||
33 | * |
||
34 | * @param \Illuminate\Notifications\Notification $notification |
||
35 | * @return string |
||
36 | */ |
||
37 | public function routeNotificationForTextlocal($notification) |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Path to the User resource. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function path() |
||
52 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.