public function areReturnTypesIntCompatible($type = null)
{
if (count($this->returnTypes)) {
foreach ($this->returnTypes as $returnType => $definition) {
switch ($returnType) {
case 'int':
case 'uint':
case 'char':
case 'uchar':
case 'long':
case 'ulong':
return true;
}
}
}
return false;
}