Lines 100.00% 9 / 9
Methods 100.00% 6 / 6
Classes 100.00% 1 / 1
Covered by tests of size
Name Lines Methods CRAP
 getId 100.00% 1 / 1 100.00% 1 / 1 1
 setId 100.00% 2 / 2 100.00% 1 / 1 1
 getName 100.00% 1 / 1 100.00% 1 / 1 1
 setName 100.00% 2 / 2 100.00% 1 / 1 1
 getWebAuthnKeys 100.00% 1 / 1 100.00% 1 / 1 1
 setWebAuthnKeys 100.00% 2 / 2 100.00% 1 / 1 1
22class WebAuthnUser
23{
24    private string $id;
25
26    private string $name;
27
28    private string $webAuthnKeys;
29
30    public function getId(): string
31    {
32        return $this->id;
33    }
34
35    public function setId(string $id): WebAuthnUser
36    {
37        $this->id = $id;
38        return $this;
39    }
40
41    public function getName(): string
42    {
43        return $this->name;
44    }
45
46    public function setName(string $name): WebAuthnUser
47    {
48        $this->name = $name;
49        return $this;
50    }
51
52    public function getWebAuthnKeys(): string
53    {
54        return $this->webAuthnKeys;
55    }
56
57    public function setWebAuthnKeys(string $webAuthnKeys): WebAuthnUser
58    {
59        $this->webAuthnKeys = $webAuthnKeys;
60        return $this;
61    }
62}