aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/collection/src/ArrayInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/collection/src/ArrayInterface.php')
-rw-r--r--vendor/ramsey/collection/src/ArrayInterface.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/ramsey/collection/src/ArrayInterface.php b/vendor/ramsey/collection/src/ArrayInterface.php
index 81835cc80..19fbff336 100644
--- a/vendor/ramsey/collection/src/ArrayInterface.php
+++ b/vendor/ramsey/collection/src/ArrayInterface.php
@@ -21,6 +21,8 @@ use Serializable;
/**
* `ArrayInterface` provides traversable array functionality to data types.
+ *
+ * @template T
*/
interface ArrayInterface extends
ArrayAccess,
@@ -36,7 +38,7 @@ interface ArrayInterface extends
/**
* Returns a native PHP array representation of this array object.
*
- * @return mixed[]
+ * @return array<array-key, T>
*/
public function toArray(): array;