The expression return $this->id could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
Loading history...
29
}
30
31
public function setId(int $id): static
32
{
33
$this->id = $id;
34
35
return $this;
36
}
37
38
public function getKid(): string
39
{
40
return $this->kid;
41
}
42
43
public function setKid(string $kid): static
44
{
45
$this->kid = $kid;
46
47
return $this;
48
}
49
50
public function getPrivateKey(): string
51
{
52
return $this->privateKey;
53
}
54
55
public function setPrivateKey(string $privateKey): static
56
{
57
$this->privateKey = $privateKey;
58
59
return $this;
60
}
61
62
public function getPublicKey(): string
63
{
64
return $this->publicKey;
65
}
66
67
public function setPublicKey(string $publicKey): static