UserInfo::isBloggerUser()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ExileeD\Inoreader\Objects;
6
7
class UserInfo extends AbstractObject implements ObjectInterface
8
{
9
10
11 3
    public function userId(): string
12
    {
13 3
        return $this->data->userId;
14
    }
15
16 3
    public function userName(): string
17
    {
18 3
        return $this->data->userName;
19
    }
20
21
22 3
    public function userProfileId(): string
23
    {
24 3
        return $this->data->userProfileId;
25
    }
26
27 3
    public function userEmail(): string
28
    {
29 3
        return $this->data->userEmail;
30
    }
31
32 3
    public function isBloggerUser(): bool
33
    {
34 3
        return $this->data->isBloggerUser;
35
    }
36
37 3
    public function signupTimeSec(): int
38
    {
39 3
        return $this->data->signupTimeSec;
40
    }
41
42 3
    public function isMultiLoginEnabled(): bool
43
    {
44 3
        return $this->data->isMultiLoginEnabled;
45
    }
46
}
47