Completed
Push — master ( e88874...2415bd )
by Pieter
03:23
created

ProfileBannerByScreenName   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 3
cts 3
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\User;
4
5
/**
6
 * @link https://dev.twitter.com/rest/reference/get/users/profile_banner
7
 */
8
class ProfileBannerByScreenName extends ProfileBanner
9
{
10 1
    public function __construct(string $screenName)
11
    {
12 1
        parent::__construct();
13
14 1
        $this->parameters['screen_name'] = $screenName;
15
    }
16
}
17