Style fixes.
This commit is contained in:
parent
a7a59b690a
commit
be4950ff88
43 changed files with 187 additions and 149 deletions
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
namespace Httpcb;
|
||||
|
||||
class Debug {
|
||||
class Debug
|
||||
{
|
||||
|
||||
public static function dump($var, $label = null, $echo = true)
|
||||
{
|
||||
// format the label
|
||||
$label = ($label===null) ? '' : rtrim($label) . ' ';
|
||||
$label = ($label === null) ? '' : rtrim($label) . ' ';
|
||||
// var_dump the variable into a buffer and keep the output
|
||||
ob_start();
|
||||
var_dump($var);
|
||||
|
|
|
|||
Reference in a new issue