diff --git a/src/Symfony/Component/HttpKernel/Profiler/Profile.php b/src/Symfony/Component/HttpKernel/Profiler/Profile.php index c18e9980a1..37b690ed86 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/Profile.php +++ b/src/Symfony/Component/HttpKernel/Profiler/Profile.php @@ -101,7 +101,7 @@ class Profile return $this->ip; } - public function setIp(string $ip) + public function setIp(?string $ip) { $this->ip = $ip; } @@ -131,7 +131,7 @@ class Profile return $this->url; } - public function setUrl(string $url) + public function setUrl(?string $url) { $this->url = $url; }