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