Skip to content

Commit 611bd99

Browse files
authored
Fix Laravel login error using Laravel auto instrumentation (#132)
Change $response type on post method to Symfony\Component\HttpFoundation\Response
1 parent 0c03c45 commit 611bd99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelInstrumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Illuminate\Foundation\Application;
88
use Illuminate\Foundation\Http\Kernel;
99
use Illuminate\Http\Request;
10-
use Illuminate\Http\Response;
1110
use Illuminate\Support\ServiceProvider;
1211
use OpenTelemetry\API\Common\Instrumentation\CachedInstrumentation;
1312
use OpenTelemetry\API\Common\Instrumentation\Globals;
@@ -18,6 +17,7 @@
1817
use OpenTelemetry\Context\Context;
1918
use function OpenTelemetry\Instrumentation\hook;
2019
use OpenTelemetry\SemConv\TraceAttributes;
20+
use Symfony\Component\HttpFoundation\Response;
2121
use Throwable;
2222

2323
class LaravelInstrumentation

0 commit comments

Comments
 (0)