diff --git a/src/Error/ErrorHandlerInterface.php b/src/Error/ErrorHandlerInterface.php index 632bd16..91974e4 100644 --- a/src/Error/ErrorHandlerInterface.php +++ b/src/Error/ErrorHandlerInterface.php @@ -13,7 +13,7 @@ interface ErrorHandlerInterface /** * @param array $params */ - public function handle(Throwable $error, array $params): JsonApiResponse; + public function handle(Throwable $exception, array $params): JsonApiResponse; /** * @param array $errors