mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
fix: relaxes if ob was not started
This commit is contained in:
@ -40,7 +40,7 @@ final class KernelDump
|
||||
*/
|
||||
public function disable(): void
|
||||
{
|
||||
ob_clean();
|
||||
@ob_clean();
|
||||
|
||||
if ($this->buffer !== '') {
|
||||
$this->flush('INFO');
|
||||
@ -52,7 +52,7 @@ final class KernelDump
|
||||
*/
|
||||
public function shutdown(): void
|
||||
{
|
||||
ob_clean();
|
||||
@ob_clean();
|
||||
|
||||
if ($this->buffer !== '') {
|
||||
$this->flush('ERROR');
|
||||
|
||||
Reference in New Issue
Block a user