public function setType(?string $type, string $description = null) {
		$this->type = $type;
		if (null !== $description) {
			$this->setTypeDescription($description);
		}

		return $this;
	}
public function setType(?string $type, string $description = null) {
		$this->type = $type;
		if (null !== $description) {
			$this->setTypeDescription($description);
		}

		return $this;
	}
public function setType ( ? string $ type , string $ description = null ) { $ this -> type = $ type ; if ( null !== $ description ) { $ this -> setTypeDescription ( $ description ) ; } return $ this ; }
Sets the type

@param string $type
@param string $description
@return $this
Sets the type