diff --git a/.github/fixtures/laravel11-app-with-exceptions.php b/.github/fixtures/laravel11-app-with-exceptions.php index a746cead..4fd12719 100644 --- a/.github/fixtures/laravel11-app-with-exceptions.php +++ b/.github/fixtures/laravel11-app-with-exceptions.php @@ -15,6 +15,6 @@ }) ->withExceptions(function (Exceptions $exceptions) { $exceptions->reportable(function (Throwable $e) { - $this->container->make(\Scoutapm\ScoutApmAgent::class)->recordThrowable($e); + app()->make(\Scoutapm\ScoutApmAgent::class)->recordThrowable($e); }); })->create();