Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | protected function buildPayload($notifiable, PolarMessage $message) : array |
||
29 | { |
||
30 | return [ |
||
31 | 'user_id' => $notifiable->getKey(), |
||
32 | 'body' => $message->body, |
||
33 | 'status' => $message->status, |
||
34 | 'from' => $message->from, |
||
35 | 'url' => $message->url, |
||
36 | 'extra' => $message->extra, |
||
37 | ]; |
||
38 | } |
||
39 | } |
||
40 |
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.