Skip to content

Commit

Permalink
mod
Browse files Browse the repository at this point in the history
  • Loading branch information
alecrabbit committed Feb 21, 2019
1 parent 9007c58 commit 8d7325a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Traits/DoesProcessException.php
Expand Up @@ -76,7 +76,14 @@ protected function dumpException(\Throwable $e): void
}
}

/**
protected function checkEnv(): void
{
if (\defined('DEBUG_DUMP_EXCEPTION') && DEBUG_DUMP_EXCEPTION) {
$this->doDumpException = true;
}
}

/**
* @param \Throwable $e
*/
protected function dumpExceptionClass(\Throwable $e): void
Expand All @@ -96,7 +103,7 @@ protected function dump(...$that): void // @codeCoverageIgnoreStart
} else {
var_dump(...$that);
}
} // @codeCoverageIgnoreEnd
} // @codeCoverageIgnoreEnd

/**
* @param \Throwable $e
Expand Down Expand Up @@ -135,11 +142,4 @@ protected function dumpExceptionObject(\Throwable $e): void
$this->dump($e);
}
}

protected function checkEnv(): void
{
if (\defined('DEBUG_DUMP_EXCEPTION') && DEBUG_DUMP_EXCEPTION) {
$this->doDumpException = true;
}
}
}

0 comments on commit 8d7325a

Please sign in to comment.