From: Roland Häder Date: Sun, 26 Jan 2025 18:36:17 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ec2948a189cd111b497146270034c9740aa6be5;p=core.git Continued: - need to be string, not int --- 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;