mirror of
https://github.com/filp/whoops.git
synced 2026-09-01 13:08:02 +00:00
fixup! Impl PlainTextHandler::dump()
This commit is contained in:
@@ -209,7 +209,7 @@ class PlainTextHandler extends Handler
|
||||
|
||||
// Dump the arguments:
|
||||
ob_start();
|
||||
$this->dump($frame->getArgs());
|
||||
$this->_dump($frame->getArgs());
|
||||
if (ob_get_length() > $this->getTraceFunctionArgsOutputLimit()) {
|
||||
// The argument var_dump is to big.
|
||||
// Discarded to limit memory usage.
|
||||
@@ -232,7 +232,7 @@ class PlainTextHandler extends Handler
|
||||
* @param mixed $var
|
||||
* @return void
|
||||
*/
|
||||
public function dump($var)
|
||||
public function _dump($var)
|
||||
{
|
||||
if ($this->dumper) {
|
||||
call_user_func($this->dumper, $var);
|
||||
|
||||
Reference in New Issue
Block a user