This commit is contained in:
2020-12-16 16:32:05 +08:00
parent a272edcca5
commit d75860d2ec
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -234,10 +234,10 @@ class Logger extends Component
/**
* @param Throwable $exception
* @return false|int|mixed|string
* @return mixed
* @throws Exception
*/
public function exception(Throwable $exception)
public function exception(Throwable $exception): mixed
{
$errorInfo = [
'message' => $exception->getMessage(),