Skip to content

Commit f8d5353

Browse files
committed
ob_start() is marked as PHP_OUTPUT_HANDLER_CLEANABLE (is not flushable)
1 parent fce9d83 commit f8d5353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridges/DITracy/ContainerPanel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(Container $container)
4040
*/
4141
public function getTab()
4242
{
43-
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE);
43+
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE);
4444
$elapsedTime = $this->elapsedTime;
4545
require __DIR__ . '/templates/ContainerPanel.tab.phtml';
4646
return ob_get_clean();
@@ -68,7 +68,7 @@ public function getPanel()
6868
}
6969
}
7070

71-
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE);
71+
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE);
7272
require __DIR__ . '/templates/ContainerPanel.panel.phtml';
7373
return ob_get_clean();
7474
}

0 commit comments

Comments
 (0)