1 | <?php |
||
14 | class BillTypesProvider |
||
15 | { |
||
16 | /** |
||
17 | * @var ApiConnectionInterface |
||
18 | */ |
||
19 | private $api; |
||
20 | |||
21 | /** |
||
22 | * BillTypesProvider constructor. |
||
23 | * @param ApiConnectionInterface $api |
||
24 | */ |
||
25 | public function __construct(ApiConnectionInterface $api) |
||
29 | |||
30 | /** |
||
31 | * Returns key-value list of bill types. |
||
32 | * `key` - type name |
||
33 | * `value` - type label (translated) |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | public function getTypesList() |
||
41 | |||
42 | /** |
||
43 | * Returns array of types. |
||
44 | * When user can not support, filters out unused types |
||
45 | * |
||
46 | * @return Ref[] |
||
47 | */ |
||
48 | public function getTypes() |
||
59 | |||
60 | /** |
||
61 | * @param Ref[] $types |
||
62 | * @return Ref[] |
||
63 | */ |
||
64 | private function removeUnusedTypes($types) |
||
74 | |||
75 | /** |
||
76 | * @return array |
||
77 | */ |
||
78 | public function getGroupedList() |
||
104 | } |
||
105 |
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.