Wrong phpdoc for enum getters and setters

The return type for enum getters and the param type of their setters should be `string`.
At the moment, both are `int`.