public function setReturnType($val) { $this->returnType = $val ? (string) $val : NULL; return $this; }