/** * {@inheritdoc} */ public function reverse(bool $preserveKeys = false) : CollectionInterface { return new self($this->type, parent::reverse($preserveKeys)->toPrimitive()); }