| Total Complexity | 3 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class Client extends BaseClient |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param int $id |
||
| 17 | * @return \Aplisin\DingTalk\Kernel\Http\Response|\Aplisin\DingTalk\Kernel\Support\Collection|array|mixed|\Psr\Http\Message\ResponseInterface |
||
|
|
|||
| 18 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 19 | */ |
||
| 20 | public function listIds($id = 1) |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param int $id |
||
| 27 | * @param bool $fetchChild |
||
| 28 | * @param string $lang |
||
| 29 | * @return \Aplisin\DingTalk\Kernel\Http\Response|\Aplisin\DingTalk\Kernel\Support\Collection|array|mixed|\Psr\Http\Message\ResponseInterface |
||
| 30 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 31 | */ |
||
| 32 | public function list($id = 1, $fetchChild = false, $lang = 'zh_CN') |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param int $id |
||
| 44 | * @param string $lang |
||
| 45 | * @return \Aplisin\DingTalk\Kernel\Http\Response|\Aplisin\DingTalk\Kernel\Support\Collection|array|mixed|\Psr\Http\Message\ResponseInterface |
||
| 46 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 47 | */ |
||
| 48 | public function get(int $id, $lang = 'zh_CN') |
||
| 57 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.