Update Repository.php

Updated PHPdocs and removed return statement in addNamespace method