Chapter 12: MovieRepository(this) is an error?

Hello Sir/Mam, This is from Advanced Android App Architecture, Chapter 12, Page 403.

fun getMovieRepository(): MovieRepository = MovieRepository(this)

MovieRepository is an interface.

Am I missing something?

@aldominium Can you please help with this when you get a chance? Thank you - much appreciated! :]