Prevent generating code with scalar typehints

Should we add `integer` and `bool` in there too?

Also, HHVM says that `boolean` is an alias of `bool`, so `bool` is the correct type, not `boolean`.