Update Repository.php

Updated PHPdocs and removed return statement in addNamespace method
Merge pull request #2282 from fturmel/patch-3

[Config] Updated PHPDocs