| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class My |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var ClientInterface |
||
| 20 | */ |
||
| 21 | private $client; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * M constructor. |
||
| 25 | * |
||
| 26 | * @param ClientInterface $client |
||
| 27 | */ |
||
| 28 | public function __construct(ClientInterface $client) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return Status |
||
| 35 | */ |
||
| 36 | public function status(): Status |
||
| 37 | { |
||
| 38 | return new My\Status($this->client, new StatusFactory()); |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return Tasks |
||
| 43 | */ |
||
| 44 | public function tasks(): Tasks |
||
| 47 | } |
||
| 48 | } |
||
| 49 |