| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | protected function process() |
||
| 40 | { |
||
| 41 | foreach (['password', 'type', 'has-children'] as $prohibited) { |
||
| 42 | if (isset($this->parameters[$prohibited])) { |
||
| 43 | unset($this->parameters[$prohibited]); |
||
| 44 | } |
||
| 45 | } |
||
| 46 | |||
| 47 | $response = Converter::convert( |
||
| 48 | $this->client->doGet( |
||
|
|
|||
| 49 | $this->parameters + ['session' => $this->client->getSession()] |
||
| 50 | ) |
||
| 51 | ); |
||
| 52 | StatusValidate::validate($response['status']); |
||
| 53 | |||
| 54 | return true; |
||
| 55 | } |
||
| 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.