| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class Replace implements Request |
||
| 20 | { |
||
| 21 | private $spaceId; |
||
| 22 | private $tuple; |
||
| 23 | |||
| 24 | 2 | public function __construct(int $spaceId, array $tuple) |
|
| 25 | { |
||
| 26 | 2 | $this->spaceId = $spaceId; |
|
| 27 | 2 | $this->tuple = $tuple; |
|
| 28 | 2 | } |
|
| 29 | |||
| 30 | 2 | public function getType() : int |
|
| 31 | { |
||
| 32 | 2 | return RequestTypes::REPLACE; |
|
| 33 | } |
||
| 34 | |||
| 35 | 2 | public function getBody() : array |
|
| 40 | ]; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |