protected function getHeader(array $params)
	{
		// Prepare the function's header
		$header = "/**\n";
		foreach ($params as $paramName => $paramType)
		{
			$header .= '* @param {' . $paramType . '} ' . $paramName . "\n";
		}
		$header .= "*/\n";

		return $header;
	}
protected function getHeader(array $params)
	{
		// Prepare the function's header
		$header = "/**\n";
		foreach ($params as $paramName => $paramType)
		{
			$header .= '* @param {' . $paramType . '} ' . $paramName . "\n";
		}
		$header .= "*/\n";

		return $header;
	}
protected function getHeader ( array $ params ) { // Prepare the function's header $ header = "/**\n" ; foreach ( $ params as $ paramName => $ paramType ) { $ header .= '* @param {' . $ paramType . '} ' . $ paramName . "\n" ; } $ header .= "*/\n" ; return $ header ; }
Generate a function header for given signature

@param  array  $params Param names as keys, param types as values
@return string
Generate a function header for given signature