Test Failed
Push — develop ( 64b6b0...ddb817 )
by nguereza
02:24
created

AuthParam::setPassword()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 5
rs 10
1
<?php
2
3
namespace Platine\Framework\Demo\Form\Param;
4
5
class AuthParam extends BaseParam
6
{
7
    protected string $username = '';
8
    protected string $password = '';
9
10
    public function getUsername(): string
11
    {
12
        return $this->username;
13
    }
14
15
    public function setUsername(string $username): self
16
    {
17
        $this->username = $username;
18
19
        return $this;
20
    }
21
22
    public function getPassword(): string
23
    {
24
        return $this->password;
25
    }
26
27
    public function setPassword(string $password): self
28
    {
29
        $this->password = $password;
30
31
        return $this;
32
    }
33
}
34