Skip to content

Commit b57909f

Browse files
committed
Simplify coverage comment
1 parent eb44074 commit b57909f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

system/CodeIgniter.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,11 +945,9 @@ protected function display404errors(PageNotFoundException $e)
945945
$this->response->setStatusCode($e->getCode());
946946

947947
if (ENVIRONMENT !== 'testing') {
948-
// @codeCoverageIgnoreStart
949948
if (ob_get_level() > 0) {
950-
ob_end_flush();
949+
ob_end_flush(); // @codeCoverageIgnore
951950
}
952-
// @codeCoverageIgnoreEnd
953951
}
954952
// When testing, one is for phpunit, another is for test case.
955953
elseif (ob_get_level() > 2) {

0 commit comments

Comments
 (0)