Passed
Push — master ( 6ce97f...1fe2f9 )
by huang
05:13
created

Client   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 18
rs 10
c 0
b 0
f 0
ccs 0
cts 8
cp 0
wmc 4
lcom 0
cbo 1

4 Methods

Rating   Name   Duplication   Size   Complexity  
A single() 0 3 1
A multi() 0 3 1
A async() 0 3 1
A promise() 0 3 1
1
<?php
2
/**
3
 * @author    jan huang <[email protected]>
4
 * @copyright 2017
5
 *
6
 * @see      https://www.github.com/janhuang
7
 * @see      http://www.fast-d.cn/
8
 */
9
10
namespace FastD\Servitization\Client;
11
12
/**
13
 * Class Consumer.
14
 */
15
class Client extends \FastD\Swoole\Client
16
{
17
    public function single()
18
    {
19
    }
20
21
    public function multi()
22
    {
23
    }
24
25
    public function async()
26
    {
27
    }
28
29
    public function promise(array $urls)
0 ignored issues
show
Unused Code introduced by
The parameter $urls is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
30
    {
31
    }
32
}
33