NewAppUser   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 10
rs 10
ccs 2
cts 2
cp 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A isExistingUser() 0 3 1
1
<?php
2
/**
3
 * @author Tharanga Kothalawala <[email protected]>
4
 * @date 30-12-2018
5
 */
6
7
namespace TSK\SSO\AppUser;
8
9
/**
10
 * @package TSK\SSO\AppUser
11
 *
12
 * This represents a new user within the client application with their basic data.
13
 */
14
class NewAppUser extends AppUser
15
{
16
    /**
17
     * Returns true if this user is an existing user or newly created one.
18
     *
19
     * @return bool
20
     */
21 3
    public function isExistingUser()
22
    {
23 3
        return false;
24
    }
25
}
26