1
0
mirror of https://github.com/danog/PHPStruct.git synced 2024-12-02 09:17:53 +01:00

Disable debugging

This commit is contained in:
Daniil Gentili 2016-09-28 02:45:06 +02:00 committed by GitHub
parent da588a75fd
commit 146ac3d89e

View File

@ -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);