ShowByListId::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 8
ccs 0
cts 7
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 3
crap 2
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