| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class SubscribeCandles implements Request |
||
| 14 | { |
||
| 15 | /** @var string */ |
||
| 16 | private $key; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * SubscribeCandles constructor. |
||
| 20 | * @param string $key |
||
| 21 | */ |
||
| 22 | 3 | public function __construct(string $key) |
|
| 23 | { |
||
| 24 | 3 | $this->key = $key; |
|
| 25 | 3 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | 3 | public function getPayload(): array |
|
| 36 | ]; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return Frame |
||
| 41 | */ |
||
| 42 | 2 | public function getFrame(): Frame |
|
| 47 |