NewAppUser::isExistingUser()   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 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
ccs 2
cts 2
cp 1
crap 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