Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function __construct() { |
||
34 | parent::__construct(); |
||
35 | |||
36 | // Capabilities. |
||
37 | $this->capabilities = array( |
||
38 | 'process-payments', |
||
39 | 'create-subscriptions', |
||
40 | 'cancel-subscriptions', |
||
41 | 'update-subscriptions', |
||
42 | 'suspend-subscriptions', |
||
43 | 'resume-subscriptions', |
||
44 | 'subscription-trial-payment', |
||
45 | ); |
||
67 |
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.