private function getNewOffset(): int {
		while ( $this->offsetExists( $this->indexOffset ) ) {
			$this->indexOffset++;
		}

		return $this->indexOffset;
	}
private function getNewOffset(): int {
		while ( $this->offsetExists( $this->indexOffset ) ) {
			$this->indexOffset++;
		}

		return $this->indexOffset;
	}
private function getNewOffset ( ) : int { while ( $ this -> offsetExists ( $ this -> indexOffset ) ) { $ this -> indexOffset ++ ; } return $ this -> indexOffset ; }
Finds a new offset for when appending an element.
The base class does this, so it would be better to integrate,
but there does not appear to be any way to do this...

@return int
Finds a new offset for when appending an element . The base class does this so it would be better to integrate but there does not appear to be any way to do this ...