File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class SingletonAspect extends AbstractAspect
2020{
2121 public array $ classes = [
2222 // Singleton Classes
23- \Sentry \State \HubAdapter::class . '::getInstance ' ,
23+ // \Sentry\State\HubAdapter::class . '::getInstance',
2424 \Sentry \Logs \Logs::class . '::getInstance ' ,
2525 \Sentry \Metrics \TraceMetrics::class . '::getInstance ' ,
2626 // !!! Don't enable this for now, it may cause some unexpected issues !!!
@@ -47,7 +47,7 @@ public function process(ProceedingJoinPoint $proceedingJoinPoint)
4747
4848 return match ($ className ) {
4949 // Singleton Classes
50- \Sentry \State \HubAdapter::class,
50+ // \Sentry\State\HubAdapter::class,
5151 \Sentry \Logs \Logs::class => Context::getOrSet ($ key , function () use ($ className ) {
5252 return Closure::bind (fn () => new $ className (), null , $ className )();
5353 }),
You can’t perform that action at this time.
0 commit comments