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

Client   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A simpleList() 0 3 1
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