aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/collection/src/Map/AbstractMap.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/collection/src/Map/AbstractMap.php')
-rw-r--r--vendor/ramsey/collection/src/Map/AbstractMap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/ramsey/collection/src/Map/AbstractMap.php b/vendor/ramsey/collection/src/Map/AbstractMap.php
index 7a851a80f..92f23e605 100644
--- a/vendor/ramsey/collection/src/Map/AbstractMap.php
+++ b/vendor/ramsey/collection/src/Map/AbstractMap.php
@@ -55,7 +55,6 @@ abstract class AbstractMap extends AbstractArray implements MapInterface
* @param T $value The value to set at the given offset.
*
* @inheritDoc
- * @psalm-suppress MoreSpecificImplementedParamType,DocblockTypeContradiction
*/
public function offsetSet(mixed $offset, mixed $value): void
{
@@ -84,6 +83,7 @@ abstract class AbstractMap extends AbstractArray implements MapInterface
*/
public function keys(): array
{
+ /** @var list<K> */
return array_keys($this->data);
}
@@ -190,6 +190,7 @@ abstract class AbstractMap extends AbstractArray implements MapInterface
*/
public function __serialize(): array
{
+ /** @var array<K, T> */
return parent::__serialize();
}
@@ -198,6 +199,7 @@ abstract class AbstractMap extends AbstractArray implements MapInterface
*/
public function toArray(): array
{
+ /** @var array<K, T> */
return parent::toArray();
}
}