controller/frontend/src/Controller/Frontend/Stock/Standard.php
public function type( $types )
	{
		if( !empty( $types ) ) {
			$this->conditions[] = $this->filter->compare( '==', 'stock.type', $types );
		}

		return $this;
	}
public function type( $types )
	{
		if( !empty( $types ) ) {
			$this->conditions[] = $this->filter->compare( '==', 'stock.type', $types );
		}

		return $this;
	}
public function type ( $ types ) { if ( ! empty ( $ types ) ) { $ this -> conditions [ ] = $ this -> filter -> compare ( '==' , 'stock.type' , $ types ) ; } return $ this ; }
Adds stock types for filtering

@param array|string $types Stock type codes
@return \Aimeos\Controller\Frontend\Stock\Iface Stock controller for fluent interface
@since 2019.04
Adds stock types for filtering