Passed
Push — master ( ce0306...23e20f )
by Ilham
02:53
created

Client::simpleList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of the dingtalk.
4
 * User: Ilham Tahir <[email protected]>
5
 * This source file is subject to the MIT license that is bundled
6
 * with this source code in the file LICENSE.
7
 */
8
9
namespace Aplisin\DingTalk\User;
10
11
use Aplisin\DingTalk\Kernel\BaseClient;
12
13
class Client extends BaseClient
14
{
15
    /**
16
     * @param array $params
17
     * @return \Aplisin\DingTalk\Kernel\Http\Response
18
     * @throws \GuzzleHttp\Exception\GuzzleException
19
     */
20
    public function simpleList(array $params)
21
    {
22
        return $this->httpGet('/user/simplelist', $params);
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->httpGet('/...r/simplelist', $params) also could return the type Aplisin\DingTalk\Kernel\Support\Collection|array which is incompatible with the documented return type Aplisin\DingTalk\Kernel\Http\Response.
Loading history...
23
    }
24
}
25