Closed alexbusu closed 5 years ago
The method \PhalconDebug::addException accepts \Exception as argument although further are accepted Trowables as well. https://github.com/snowair/phalcon-debugbar/blob/master/src/Debug.php#L188 and https://github.com/snowair/phalcon-debugbar/blob/master/src/PhalconDebugbar.php#L507
\PhalconDebug::addException
\Exception
It should accept \Throwable, as the \Exception is a subclass of the former.
\Throwable
Thank you for your PR
The method
\PhalconDebug::addException
accepts\Exception
as argument although further are accepted Trowables as well. https://github.com/snowair/phalcon-debugbar/blob/master/src/Debug.php#L188 and https://github.com/snowair/phalcon-debugbar/blob/master/src/PhalconDebugbar.php#L507It should accept
\Throwable
, as the\Exception
is a subclass of the former.