Skip to content

Commit b5bcabf

Browse files
Merge branch '5.0'
* 5.0: updated VERSION for 3.4.40 update CONTRIBUTORS for 3.4.40 updated CHANGELOG for 3.4.40 [WebProfilerBundle] changed label of peak memory usage in the time & memory panels (MB into MiB) add tests for the ConstraintViolationBuilder class Improve dirname usage [PhpUnitBridge] Use COMPOSER_BINARY env var if available Allow invalidateTags calls to be traced by data collector [YAML] escape DEL(\x7f) fix compatibility with phpunit 9 [Cache] skip APCu in chains when the backend is disabled [Mailer] Add a comment to avoid more wrong PRs on this piece of code [Form] apply automatically step=1 for datetime-local input remove getContainer overwrites in tests Fixing a bug where class_alias would cause incorrect items in debug:autowiring [DependencyInjection][ServiceSubscriber] Support late aliases Fix profiler nullable string type
2 parents d00202a + cefea5f commit b5bcabf

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)