]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 26 Jan 2025 18:36:17 +0000 (19:36 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 26 Jan 2025 18:36:17 +0000 (19:36 +0100)
- need to be string, not int

framework/main/classes/iterator/registry/class_RegistryIterator.php

index b38d21f13d369084f82c60840d449c5b032bfa37..4aed57542155218b06ab02b0a47940e555c25894 100644 (file)
@@ -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;