From aed952b9b2109349684370714c115b17cbe20b19 Mon Sep 17 00:00:00 2001 From: AChumakov Date: Fri, 4 Jun 2021 12:27:27 +0300 Subject: [PATCH] Fix deleting scope --- src/Jaeger/ScopeManager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Jaeger/ScopeManager.php b/src/Jaeger/ScopeManager.php index 3d11a06..3dfb795 100644 --- a/src/Jaeger/ScopeManager.php +++ b/src/Jaeger/ScopeManager.php @@ -49,6 +49,7 @@ public function delActive(Scope $scope){ for ($i = 0; $i < $scopeLength; $i++) { if ($scope === $this->scopes[$i]) { array_splice($this->scopes, $i, 1); + break; } }