From b1ed4d48922cda33ae1ec2887f73a893de80b4e6 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 5 Oct 2023 01:22:09 +0200 Subject: [PATCH] typo --- src/Tracy/BlueScreen/BlueScreen.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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]; } }