Update client.php
Merge pull request #1 from petitphp/patch-1

fix wrong function call