Update Media.php

user nullable + setFile untyped