remove this <code>@param string $type</code>, not at the function parameter.