aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/collection/src/Collection.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-15 18:29:24 +0000
committerMario <mario@mariovavti.com>2021-02-15 18:29:24 +0000
commit02401ea9fd5d53f590305c0f9834685cda58723d (patch)
treee60e292f8ae389c3a353dafda37003b4c15a45d5 /vendor/ramsey/collection/src/Collection.php
parent18c8f1b903e90ca3632520b90d21ec3770bf6e0b (diff)
downloadvolse-hubzilla-02401ea9fd5d53f590305c0f9834685cda58723d.tar.gz
volse-hubzilla-02401ea9fd5d53f590305c0f9834685cda58723d.tar.bz2
volse-hubzilla-02401ea9fd5d53f590305c0f9834685cda58723d.zip
composer update ramsey/collection
Diffstat (limited to 'vendor/ramsey/collection/src/Collection.php')
-rw-r--r--vendor/ramsey/collection/src/Collection.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/ramsey/collection/src/Collection.php b/vendor/ramsey/collection/src/Collection.php
index e4db68dfe..2f8deddaa 100644
--- a/vendor/ramsey/collection/src/Collection.php
+++ b/vendor/ramsey/collection/src/Collection.php
@@ -69,6 +69,9 @@ namespace Ramsey\Collection;
* // the collection is a collection of My\Foo objects
* }
* ```
+ *
+ * @template T
+ * @template-extends AbstractCollection<T>
*/
class Collection extends AbstractCollection
{
@@ -88,7 +91,7 @@ class Collection extends AbstractCollection
*
* @param string $collectionType The type (FQCN) associated with this
* collection.
- * @param mixed[] $data The initial items to store in the collection.
+ * @param array<array-key, T> $data The initial items to store in the collection.
*/
public function __construct(string $collectionType, array $data = [])
{
@@ -96,9 +99,6 @@ class Collection extends AbstractCollection
parent::__construct($data);
}
- /**
- * Returns the type associated with this collection.
- */
public function getType(): string
{
return $this->collectionType;