Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public static function handle(NotificationData $notification) |
||
20 | { |
||
21 | $sessions = PaymentsModels::sessions(); |
||
22 | |||
23 | $notification->session = $sessions->generateFromPurchaseType($notification->purchase, $notification->type); |
||
24 | $notification->session->populateFromResponse($notification->response); |
||
|
|||
25 | $notification->session->insert(); |
||
26 | return $notification->session; |
||
27 | } |
||
29 |
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.