Skip to main content
2 of 2
added 37 characters in body
Cyril
  • 79
  • 1
  • 2

The thing is that the type of getInstance return will be ambigous since it depends on the consumer. This gives a weak-typed method signature. For instance it makes it impossible to provide an @return in compliance with the consumer type in the getInstance method doc bloc.

Cyril
  • 79
  • 1
  • 2