Total Complexity | 4 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class Pix extends \Magento\Payment\Block\Form |
||
18 | { |
||
19 | /** |
||
20 | * Pix template. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $_template = 'Getnet_PaymentMagento::form/pix.phtml'; |
||
25 | |||
26 | /** |
||
27 | * @var ConfigPix |
||
28 | */ |
||
29 | protected $configPix; |
||
30 | |||
31 | /** |
||
32 | * @param Context $context |
||
33 | * @param ConfigPix $configPix |
||
34 | */ |
||
35 | public function __construct( |
||
36 | Context $context, |
||
37 | ConfigPix $configPix |
||
38 | ) { |
||
39 | parent::__construct($context); |
||
40 | $this->configPix = $configPix; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * Title - Pix. |
||
45 | * |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getTitle() |
||
49 | { |
||
50 | return $this->configPix->getTitle(); |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Instruction - Pix. |
||
55 | * |
||
56 | * @return string |
||
57 | */ |
||
58 | public function getInstruction() |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * Expiration - Pix. |
||
65 | * |
||
66 | * @return string |
||
67 | */ |
||
68 | public function getExpiration() |
||
71 | } |
||
72 | } |
||
73 |
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.