Fix return type in static interface method example

Pointed out by reddit user Eugenexxx