File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 ->toBeNull ();
3030});
3131
32- it ('starts and completes a trace for an http request ' , function () {
32+ it ('starts and completes a trace for an http request ' , function (): void {
3333 $ tracer = app (Tracer::class);
3434
3535 $ response = $ this ->postJson ('/trace-test ' );
6464 ->toBeNull ();
6565});
6666
67- it ('fails the trace when the request fails ' , function () {
67+ it ('fails the trace when the request fails ' , function (): void {
6868 $ tracer = app (Tracer::class);
6969
7070 $ this ->withoutExceptionHandling ();
Original file line number Diff line number Diff line change 9393 ->toBeNull ();
9494});
9595
96- it ('adds attributes to a span before closing ' , function () {
97- $ contextStore = new InMemoryTraceContextStore () ;
98- $ spanRecorder = new InMemorySpanRecorder () ;
99- $ traceRecorder = new InMemoryTraceRecorder () ;
96+ it ('adds attributes to a span before closing ' , function (): void {
97+ $ contextStore = new InMemoryTraceContextStore ;
98+ $ spanRecorder = new InMemorySpanRecorder ;
99+ $ traceRecorder = new InMemoryTraceRecorder ;
100100
101101 $ tracer = new Tracer (
102102 contextStore: $ contextStore ,
You can’t perform that action at this time.
0 commit comments