Skip to content

Commit

Permalink
Use ob_clean() instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Oct 15, 2024
1 parent e30dd50 commit aca34ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DatastarResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function sendEvent(DatastarEvent $event): void
return;
}

ob_get_clean();
ob_clean();
echo $output;
ob_flush();
flush();
Expand Down

0 comments on commit aca34ba

Please sign in to comment.