Fix profiler nullable string type
This commit is contained in:
parent
ea0eb11bcf
commit
b5d406117d
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user