Fix expected outcome for getDeclaringFunction()
Messup from ::class refactoring before