Update Repository.php

Fixed PHPdocs and removed return statement in addNamespace method.