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