mirror of
https://github.com/filp/whoops.git
synced 2026-09-11 18:26:22 +00:00
Merge pull request #107 from GrahamCampbell/master
Minor punctuation fixes
This commit is contained in:
+3
-3
@@ -259,12 +259,12 @@ class Run
|
||||
|
||||
$output = ob_get_clean();
|
||||
|
||||
// If we"re allowed to, send output generated by handlers directly
|
||||
// to the output, otherwise, and if the script doesn"t quit, return
|
||||
// If we're allowed to, send output generated by handlers directly
|
||||
// to the output, otherwise, and if the script doesn't quit, return
|
||||
// it so that it may be used by the caller
|
||||
if($this->writeToOutput()) {
|
||||
// @todo Might be able to clean this up a bit better
|
||||
// If we"re going to quit execution, cleanup all other output
|
||||
// If we're going to quit execution, cleanup all other output
|
||||
// buffers before sending our own output:
|
||||
if($handlerResponse == Handler::QUIT && $this->allowQuit()) {
|
||||
while (ob_get_level() > 0) ob_end_clean();
|
||||
|
||||
Reference in New Issue
Block a user