Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
22 | class CreditCardGateway extends Gateway { |
||
23 | /** |
||
24 | * Payment method. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $payment_method = PaymentMethods::CREDIT_CARD; |
||
29 | |||
30 | /** |
||
31 | * Constructs and initialize credit card gateway. |
||
32 | */ |
||
33 | public function __construct() { |
||
45 | ); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Get alias class name of this gateway. |
||
50 | * |
||
51 | * @return string |
||
52 | */ |
||
53 | public function get_alias() { |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * Get icon function, please note that this is not a MemberPress function. |
||
59 | * |
||
60 | * @since 2.0.8 |
||
61 | * @return string |
||
62 | */ |
||
63 | protected function get_icon() { |
||
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.