def _SetTypeHint(self, prop):
    code_type = prop.code_type
    if code_type and code_type.lower() in PhpLanguageModel.PHP_TYPES:
      prop.values['typeHint'] = ''
      prop.values['typeHintOld'] = ''
    else:
      prop.values['typeHintOld'] = ('%s_%s' %
                                    (self._api.values['owner'].title(),
                                     code_type))
      prop.values['typeHint'] = ('%s_Service_%s_%s' %
                                 (self._api.values['owner'].title(),
                                  self._api.values['className'], code_type))
Strip primitive types since PHP doesn't support primitive type hints.
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/php_generator.py/PHPGenerator._SetTypeHint