Skip to content

Commit 4620b91

Browse files
committed
Fix profiler nullable string type
1 parent ea9d281 commit 4620b91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Profiler/Profile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function getIp()
101101
return $this->ip;
102102
}
103103

104-
public function setIp(string $ip)
104+
public function setIp(?string $ip)
105105
{
106106
$this->ip = $ip;
107107
}
@@ -131,7 +131,7 @@ public function getUrl()
131131
return $this->url;
132132
}
133133

134-
public function setUrl(string $url)
134+
public function setUrl(?string $url)
135135
{
136136
$this->url = $url;
137137
}

0 commit comments

Comments
 (0)