Skip to content

Commit 5c60d5d

Browse files
Nardberjeanfabpot
authored andcommitted
Update HttpKernel.php
1 parent 1b241b4 commit 5c60d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)