Skip to content

Commit 8aab743

Browse files
committed
Fix return value in ob_start callback argument
1 parent bf95d55 commit 8aab743

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Factory/DiactorosFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function createResponse(Response $symfonyResponse)
133133
ob_start(function ($buffer) use ($stream) {
134134
$stream->write($buffer);
135135

136-
return false;
136+
return '';
137137
});
138138

139139
$symfonyResponse->sendContent();

Factory/PsrHttpFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function createResponse(Response $symfonyResponse)
143143
ob_start(function ($buffer) use ($stream) {
144144
$stream->write($buffer);
145145

146-
return false;
146+
return '';
147147
});
148148

149149
$symfonyResponse->sendContent();

0 commit comments

Comments
 (0)