From b5d406117defbbe44006cffae06b4263dd3b9dc0 Mon Sep 17 00:00:00 2001 From: Michel Roca Date: Sat, 21 Mar 2020 21:29:52 +0100 Subject: [PATCH] Fix profiler nullable string type --- src/Symfony/Component/HttpKernel/Profiler/Profile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Profiler/Profile.php b/src/Symfony/Component/HttpKernel/Profiler/Profile.php index c18e9980a147..37b690ed866a 100644 --- a/src/Symfony/Component/HttpKernel/Profiler/Profile.php +++ b/src/Symfony/Component/HttpKernel/Profiler/Profile.php @@ -101,7 +101,7 @@ public function getIp() return $this->ip; } - public function setIp(string $ip) + public function setIp(?string $ip) { $this->ip = $ip; } @@ -131,7 +131,7 @@ public function getUrl() return $this->url; } - public function setUrl(string $url) + public function setUrl(?string $url) { $this->url = $url; }