Getter return typehints
Added return typehints to getters.
This is backwards incompatible in the following cases:
- if you have interfaces implemented by generated getters
- if you have
null
values in non-nullable columns - if you mock these classes for unit tests without returning the proper return type for the getters. (By default Prophecy and PHPUnit mock objects return
null
for method calls)