ReflectionFunctionAbstract::getTentativeReturnType
  Returns the tentative return type associated with the function
  
 
  Description
  
   public ReflectionTypenull ReflectionFunctionAbstract::getTentativeReturnType()
  
  
 
  Parameters
  This function has no parameters.
  
 
  Return Values
  
   Returns a ReflectionType object if a tentative return type is
   specified, null otherwise.
  
  
 
  Examples
  
   
    Example #1  ReflectionFunctionAbstract::getTentativeReturnType example
    
<?php
$method = new ReflectionMethod(\ArrayAccess::class, 'offsetGet');
var_dump($method->getTentativeReturnType());
 
    The above example will output
something similar to:
object(ReflectionNamedType)#2 (0) {
}