diff --git a/docs/index.md b/docs/index.md index 3ee30f1..2978edd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -62,12 +62,12 @@ return Application::configure(basePath: dirname(__DIR__)) #### Laravel 8-10 -Use the `reportable` method in the `App\Exceptions\Handler` class: +Use the `renderable` method in the `App\Exceptions\Handler` class: ```php public function register() { - $this->reportable(function (OAuthException $e) { + $this->renderable(function (OAuthException $e) { // Handle when the user clicks cancel on the Xero authorization screen return redirect('/my/xero/connect/page')->with('errorMessage', $e->getMessage()); });