diff --git a/ds/ds.php b/ds/ds.php
index a303a0dec..cafa34d19 100644
--- a/ds/ds.php
+++ b/ds/ds.php
@@ -798,7 +798,7 @@ public function isEmpty(): bool {}
* Converts the collection to an array.
*
Note: Casting to an array is not supported yet.
* @link https://www.php.net/manual/en/ds-vector.toarray.php
- * @return array An array containing all the values in the same order as
+ * @return list An array containing all the values in the same order as
* the collection.
*/
public function toArray(): array {}
@@ -890,7 +890,7 @@ public function isEmpty(): bool {}
* Converts the deque to an array.
* Note: Casting to an array is not supported yet.
* @link https://www.php.net/manual/en/ds-deque.toarray.php
- * @return array An array containing all the values in the same order as
+ * @return list An array containing all the values in the same order as
* the deque.
*/
public function toArray(): array {}
@@ -1418,7 +1418,7 @@ public function isEmpty(): bool {}
*
*
* @link https://www.php.net/manual/en/ds-map.toarray.php
- * @return array An array containing all the values in the same order as
+ * @return array An array containing all the values in the same order as
* the map.
*/
public function toArray(): array {}
@@ -2267,7 +2267,7 @@ public function xor(Set $set): Set {}
* Converts the set to an array.
* Note: Casting to an array is not supported yet.
* @link https://www.php.net/manual/en/ds-set.toarray.php
- * @return array An array containing all the values in the same order as
+ * @return list An array containing all the values in the same order as
* the collection.
*/
public function toArray(): array {}
@@ -2392,7 +2392,7 @@ public function isEmpty(): bool {}
* Converts the collection to an array.
* Note: Casting to an array is not supported yet.
* @link https://www.php.net/manual/en/ds-stack.toarray.php
- * @return array An array containing all the values in the same order as
+ * @return list An array containing all the values in the same order as
* the collection.
*/
public function toArray(): array {}
@@ -2548,7 +2548,7 @@ public function isEmpty(): bool {}
* Converts the collection to an array.
* Note: Casting to an array is not supported yet.
* @link https://www.php.net/manual/en/ds-queue.toarray.php
- * @return array An array containing all the values in the same order as
+ * @return list An array containing all the values in the same order as
* the collection.
*/
public function toArray(): array {}
@@ -2716,7 +2716,7 @@ public function push($value, int $priority) {}
* Converts the collection to an array.
* Note: Casting to an array is not supported yet.
* @link https://www.php.net/manual/en/ds-collection.toarray.php
- * @return array An array containing all the values in the same order as
+ * @return list An array containing all the values in the same order as
* the collection.
*/
public function toArray(): array {}