| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | 4 | public function update(ItemInterface $item, array $parameters = [], array $headers = []) |
|
| 18 | { |
||
| 19 | 4 | return $this->getClient()->patch( |
|
|
|
|||
| 20 | 4 | $this->getEndpoint().'/'.urlencode($item->getId()).'?'.http_build_query($parameters), |
|
| 21 | 4 | $this->documentFactory->make($item), |
|
| 22 | 2 | $headers, |
|
| 23 | 2 | ); |
|
| 26 |