src/IteratableCollection.php
public function increase(int $size)
	{
		$count = $this->count();
		if ($size > $this->count()) {
			$add = $size - $this->count();
			$key = $this->storeKey();
			for ($i = 0; $i < $add; $i++) {
				$this->addEmpty();
			}
		}

		return $this;
	}
public function increase(int $size)
	{
		$count = $this->count();
		if ($size > $this->count()) {
			$add = $size - $this->count();
			$key = $this->storeKey();
			for ($i = 0; $i < $add; $i++) {
				$this->addEmpty();
			}
		}

		return $this;
	}
public function increase ( int $ size ) { $ count = $ this -> count ( ) ; if ( $ size > $ this -> count ( ) ) { $ add = $ size - $ this -> count ( ) ; $ key = $ this -> storeKey ( ) ; for ( $ i = 0 ; $ i < $ add ; $ i ++ ) { $ this -> addEmpty ( ) ; } } return $ this ; }
Increase size of collection

@param int $size

@return $this
Increase size of collection