Skip to content

Commit e846797

Browse files
committed
Add AbstractList::getOriginalKeyType() method
1 parent f626740 commit e846797

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Types/AbstractList.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ public function __construct(?Type $valueType = null, ?Type $keyType = null)
4545
$this->keyType = $keyType;
4646
}
4747

48+
public function getOriginalKeyType(): ?Type
49+
{
50+
return $this->keyType;
51+
}
52+
4853
/**
4954
* Returns the type for the keys of this array.
5055
*/

0 commit comments

Comments
 (0)