mirror of
https://github.com/danog/PHPStruct.git
synced 2024-12-02 09:17:53 +01:00
Disable debugging
This commit is contained in:
parent
da588a75fd
commit
146ac3d89e
@ -18,9 +18,10 @@ class StructException extends \Exception
|
|||||||
public function __construct($message, $code = 0, Exception $previous = null)
|
public function __construct($message, $code = 0, Exception $previous = null)
|
||||||
{
|
{
|
||||||
// some code
|
// some code
|
||||||
|
/*
|
||||||
if (isset($GLOBALS['doingphptests']) && $GLOBALS['doingphptests']) {
|
if (isset($GLOBALS['doingphptests']) && $GLOBALS['doingphptests']) {
|
||||||
var_dump($message);
|
var_dump($message);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// make sure everything is assigned properly
|
// make sure everything is assigned properly
|
||||||
parent::__construct($message, $code, $previous);
|
parent::__construct($message, $code, $previous);
|
||||||
|
Loading…
Reference in New Issue
Block a user