ShowByListId   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php declare(strict_types=1);
2
3
namespace PeeHaa\AsyncTwitter\Api\Request\Lists\Member;
4
5
/**
6
 * @link https://dev.twitter.com/rest/reference/get/lists/members
7
 */
8
class ShowByListId extends Show
9
{
10
    public function __construct(int $listId, int $userId, string $screenName)
11
    {
12
        parent::__construct();
13
14
        $this->parameters['list_id']     = (string) $listId;
15
        $this->parameters['user_id']     = (string) $userId;
16
        $this->parameters['screen_name'] = (string) $screenName;
17
    }
18
}
19