Update creating_a_provider_class.rst

Update type hinting from Media to MediaInterface.