Update Repository.php

Update to match interface