GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 790680...4aafdd )
by Dominic
02:15
created

ClientAwareTrait   A

Complexity

Total Complexity 12

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 15
wmc 12
lcom 0
cbo 0
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setStatsdClient() 0 4 1
1
<?php
2
3
namespace Vend\Statsd;
4
5
/**
6
 * Trait for classes that need an optional statsd client
7
 */
8
trait ClientAwareTrait
9
{
10
    /**
11
     * @var ClientInterface
12
     */
13
    protected $statsd;
14
15
    /**
16
     * @param ClientInterface $statsd
17
     */
18 1
    public function setStatsdClient(ClientInterface $statsd)
19
    {
20 1
        $this->statsd = $statsd;
21 1
    }
22
}
23