change type on `latest` property

`integer` to `number` - supports numerics that php typecasts to string