From 5ec2948a189cd111b497146270034c9740aa6be5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org> Date: Sun, 26 Jan 2025 19:36:17 +0100 Subject: [PATCH] Continued: - need to be string, not int --- .../main/classes/iterator/registry/class_RegistryIterator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/main/classes/iterator/registry/class_RegistryIterator.php b/framework/main/classes/iterator/registry/class_RegistryIterator.php index b38d21f1..4aed5754 100644 --- a/framework/main/classes/iterator/registry/class_RegistryIterator.php +++ b/framework/main/classes/iterator/registry/class_RegistryIterator.php @@ -263,7 +263,7 @@ class RegistryIterator extends BaseIterator implements IteratableRegistry { * * @return $key Current key in iteration */ - public function key (): int { + public function key (): string { // Return it //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage(sprintf('REGISTRY-ITERATOR: this->key=%s EXIT!', $this->key)); return $this->key; -- 2.39.5