8000 Update HttpKernel.php · dunglas/symfony@7b7f966 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b7f966

Browse files
Nardberjeanfabpot
authored andcommitted
Update HttpKernel.php
1 parent 829ced8 commit 7b7f966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/HttpKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct(EventDispatcherInterface $dispatcher, ControllerReso
6262
*/
6363
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
6464
{
65-
$request->headers->set('X-Php-Ob-Level', ob_get_level());
65+
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
6666

6767
try {
6868
return $this->handleRaw($request, $type);

0 commit comments

Comments
 (0)
0