missing return in FileRepository::addFile()
phpDoc