Skip to content

Commit c1223c4

Browse files
authored
Update SapiEmitterTrait.hack
1 parent 99c2cbd commit c1223c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Emitter/SapiEmitterTrait.hack

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ trait SapiEmitterTrait {
3030

3131
private function assertNoPreviousOutput(): void {
3232
if (headers_sent()) {
33-
//throw EmitterException::forHeadersSent();
33+
throw EmitterException::forHeadersSent();
3434
}
3535
if (ob_get_level() > 0 && ob_get_length() > 0) {
36-
//throw EmitterException::forOutputSent();
36+
throw EmitterException::forOutputSent();
3737
}
3838
}
3939

0 commit comments

Comments
 (0)