diff --git a/src/Tracy/BlueScreen/BlueScreen.php b/src/Tracy/BlueScreen/BlueScreen.php index 0def96739..9969190cd 100644 --- a/src/Tracy/BlueScreen/BlueScreen.php +++ b/src/Tracy/BlueScreen/BlueScreen.php @@ -493,13 +493,10 @@ private function findGeneratorsAndFibers(object $object): array }; foreach ($this->fibers as $k => $v) { - $add($this->fibers instanceof \WeakMap ? $k : $v); - } - - if (PHP_VERSION_ID >= 80000) { - Helpers::traverseValue($object, $add); + $add($k); } + Helpers::traverseValue($object, $add); return [$generators, $fibers]; } }