Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -407,7 +407,7 @@ public function setContent($content) | |
/** | ||
* Gets the current response content. | ||
* | ||
* @return string Content | ||
* @return string|false | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
nicolas-grekas
Author
Member
|
||
*/ | ||
public function getContent() | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,7 +94,7 @@ public function close() | |
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
* @return bool | ||
*/ | ||
public function gc($maxlifetime) | ||
{ | ||
|
@nicolas-grekas how is this possible to be false? I can see on the related PR #33332 that this changed to
string|null
string|false
here on 4.3.4?string|null
? I can see that the content is always set usingsetContent
which always casts the content tostring