Skip to content

Commit

Permalink
Fix profiler nullable string type
Browse files Browse the repository at this point in the history
  • Loading branch information
mRoca committed Mar 21, 2020
1 parent ea0eb11 commit b5d4061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/HttpKernel/Profiler/Profile.php
Expand Up @@ -101,7 +101,7 @@ public function getIp()
return $this->ip;
}

public function setIp(string $ip)
public function setIp(?string $ip)
{
$this->ip = $ip;
}
Expand Down Expand Up @@ -131,7 +131,7 @@ public function getUrl()
return $this->url;
}

public function setUrl(string $url)
public function setUrl(?string $url)
{
$this->url = $url;
}
Expand Down

0 comments on commit b5d4061

Please sign in to comment.