Fix profiler nullable string type

This commit is contained in:
Michel Roca 2020-03-21 21:29:52 +01:00
parent ea0eb11bcf
commit b5d406117d

View File

@ -101,7 +101,7 @@ class Profile
return $this->ip; return $this->ip;
} }
public function setIp(string $ip) public function setIp(?string $ip)
{ {
$this->ip = $ip; $this->ip = $ip;
} }
@ -131,7 +131,7 @@ class Profile
return $this->url; return $this->url;
} }
public function setUrl(string $url) public function setUrl(?string $url)
{ {
$this->url = $url; $this->url = $url;
} }