2
0
forked from Wavyzz/dolibarr

debugbar ok with php5.6

This commit is contained in:
Laurent Destailleur
2020-09-08 02:59:49 +02:00
parent 4db561656e
commit 198b8d8d2b
83 changed files with 2742 additions and 5176 deletions

View File

@@ -17,10 +17,10 @@ namespace Symfony\Component\VarDumper\Exception;
class ThrowingCasterException extends \Exception
{
/**
* @param \Throwable $prev The exception thrown from the caster
* @param \Exception $prev The exception thrown from the caster
*/
public function __construct(\Throwable $prev)
public function __construct(\Exception $prev)
{
parent::__construct('Unexpected '.\get_class($prev).' thrown from a caster: '.$prev->getMessage(), 0, $prev);
parent::__construct('Unexpected '.get_class($prev).' thrown from a caster: '.$prev->getMessage(), 0, $prev);
}
}