The expression return $this->token could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
44
}
45
46
public function setToken(string $token): KioskUser {
47
1
$this->token = $token;
48
1
return $this;
49
}
50
51
public function getIpAddresses(): ?string {
52
return $this->ipAddresses;
53
}
54
55
3
public function setIpAddresses(?string $ipAddresses): KioskUser {