simplify error handling custom methods docblocks

v4
fadrian06 14 hours ago
parent 161bd9817c
commit d8e108295c

@ -170,8 +170,7 @@ class Engine
////////////////// //////////////////
/** /**
* Custom error handler. Converts errors into exceptions. * Converts errors into exceptions
*
* @param int $errno Level of the error raised. * @param int $errno Level of the error raised.
* @param string $errstr Error message. * @param string $errstr Error message.
* @param string $errfile Filename that the error was raised in. * @param string $errfile Filename that the error was raised in.
@ -188,7 +187,7 @@ class Engine
return false; return false;
} }
/** Custom exception handler. Logs exceptions */ /** Logs exceptions */
public function handleException(Throwable $ex): void public function handleException(Throwable $ex): void
{ {
if ($this->get('flight.log_errors')) { if ($this->get('flight.log_errors')) {

Loading…
Cancel
Save