Skip to content

Commit 190f628

Browse files
Laravel: respect current way of disabling instrumentation.
1 parent d67da56 commit 190f628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Instrumentation/Laravel/src/LaravelConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private function __construct(
1717
public static function fromArray(array $properties): self
1818
{
1919
return new self(
20-
enabled: (class_exists(Sdk::class) && !Sdk::isDisabled()) || $properties['enabled'],
20+
enabled: (class_exists(Sdk::class) && !Sdk::isInstrumentationDisabled('laravel')) || $properties['enabled'],
2121
);
2222
}
2323

0 commit comments

Comments
 (0)