Completed
Push — master ( 961eec...37f131 )
by Pieter
02:39
created

ListByUserId   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php declare(strict_types=1);
2
3
namespace PeeHaa\AsyncTwitter\Api\Request\Collection;
4
5
class ListByUserId extends Lists
6
{
7 1
    public function __construct(int $userId)
8
    {
9 1
        parent::__construct();
10
11 1
        $this->parameters['user_id'] = (string) $userId;
12 1
    }
13
}
14