Update Client.php

https://github.com/FriendsOfSymfony/FOSElasticaBundle/commit/f48ae85
Merge pull request #1 from matejvelikonja/patch-1

Update Client.php