ScopeReflection class returns type of all methods