Skip to content

Commit 2e47b23

Browse files
committed
ob_start() is marked as PHP_OUTPUT_HANDLER_CLEANABLE (is not flushable)
1 parent 6dd5dda commit 2e47b23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bridges/DatabaseTracy/ConnectionPanel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function getTab()
100100
$name = $this->name;
101101
$count = $this->count;
102102
$totalTime = $this->totalTime;
103-
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE);
103+
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE);
104104
require __DIR__ . '/templates/ConnectionPanel.tab.phtml';
105105
return ob_get_clean();
106106
}
@@ -131,7 +131,7 @@ public function getPanel()
131131
$queries[] = $query;
132132
}
133133

134-
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE);
134+
ob_start(NULL, 0, PHP_OUTPUT_HANDLER_REMOVABLE | PHP_OUTPUT_HANDLER_CLEANABLE);
135135
require __DIR__ . '/templates/ConnectionPanel.panel.phtml';
136136
return ob_get_clean();
137137
}

0 commit comments

Comments
 (0)