Fixed SwooleG.type error.