Shouldn't this be `@param string $gid` ?