Conditions | 2 |
Paths | 2 |
Total Lines | 18 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
47 | protected function process() |
||
48 | { |
||
49 | if (isset($this->parameters['principal-id'])) { |
||
50 | unset($this->parameters['principal-id']); |
||
51 | } |
||
52 | |||
53 | $response = Converter::convert( |
||
54 | $this->client->doGet( |
||
|
|||
55 | $this->parameters + ['session' => $this->client->getSession()] |
||
56 | ) |
||
57 | ); |
||
58 | |||
59 | StatusValidate::validate($response['status']); |
||
60 | |||
61 | $principal = new $this->principal(); |
||
62 | FillObject::setAttributes($principal, $response['principal']); |
||
63 | |||
64 | return $principal; |
||
65 | } |
||
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.