| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | abstract class AbstractModule implements ModuleInterface |
||
| 25 | { |
||
| 26 | /** @var HttpReq|null Access to post/get data */ |
||
| 27 | protected $_req; |
||
| 28 | |||
| 29 | /** @var UserInfo|null User Info ValuesContainer */ |
||
| 30 | protected $user; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * AbstractModule constructor. |
||
| 34 | * |
||
| 35 | * @param HttpReq $req |
||
| 36 | * @param UserInfo $user |
||
| 37 | */ |
||
| 38 | public function __construct(HttpReq $req, UserInfo $user) |
||
| 39 | { |
||
| 40 | $this->_req = $req; |
||
| 41 | $this->user = $user; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Helper function to see if a request is asking for any api processing |
||
| 46 | * |
||
| 47 | * @return string|false |
||
| 48 | */ |
||
| 49 | public function getApi() |
||
| 55 | } |
||
| 56 | } |
||
| 57 |
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.