This repository was archived by the owner on Dec 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1919 "open-telemetry/sdk" : " *" ,
2020 "open-telemetry/exporter-otlp" : " *" ,
2121 "ext-opentelemetry" : " *" ,
22- "open-telemetry/opentelemetry-auto-laravel" : " ^0.0.25 "
22+ "open-telemetry/opentelemetry-auto-laravel" : " ^1.1.1 "
2323 },
2424 "require-dev" : {
2525 "orchestra/testbench" : " ^9.0" ,
5050 },
5151 "config" : {
5252 "allow-plugins" : {
53- "php-http/discovery" : true
53+ "php-http/discovery" : true ,
54+ "tbachert/spi" : true
5455 }
5556 }
5657}
Original file line number Diff line number Diff line change 55use Carbon \Carbon ;
66use Carbon \CarbonImmutable ;
77use Carbon \CarbonInterface ;
8- use OpenTelemetry \SDK \Common \Time \ClockInterface ;
9- use OpenTelemetry \SDK \Common \Time \SystemClock ;
8+ use OpenTelemetry \API \Common \Time \Clock ;
9+ use OpenTelemetry \API \Common \Time \ClockInterface ;
1010
1111class CarbonClock implements ClockInterface
1212{
13- protected SystemClock $ systemClock ;
13+ protected ClockInterface $ systemClock ;
1414
1515 public function __construct ()
1616 {
17- $ this ->systemClock = new SystemClock ();
17+ $ this ->systemClock = Clock:: getDefault ();
1818 }
1919
2020 public function now (): int
You can’t perform that action at this time.
0 commit comments