diff --git a/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php b/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php index 78892692eddeb047455fc59e2d3ffeb7a320343d..912f43453f866b04b513f022eb4c5ab687f88168 100644 --- a/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php +++ b/typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php @@ -309,7 +309,7 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito /** * Returns this object storage as an array * - * @return array The object storage + * @return list<TEntity> */ public function toArray() { @@ -326,7 +326,7 @@ class ObjectStorage implements \Countable, \Iterator, \ArrayAccess, ObjectMonito * for example dotted paths, e.g. ObjectAccess::getPropertyPath($object, 'children.array.123') * to get exactly the 123rd item in the "children" property which is an ObjectStorage. * - * @return array + * @return list<TEntity> */ public function getArray() {