diff --git a/src/OrderedListInterface.php b/src/OrderedListInterface.php index 0ab6147..530494c 100644 --- a/src/OrderedListInterface.php +++ b/src/OrderedListInterface.php @@ -145,4 +145,9 @@ public function reverse(): self; * @throws Error In case, the values are not `string` or {@see Stringable}. */ public function join(string $separator = ''): string; + + /** + * @psalm-return list + */ + public function toNativeArray(): array; }