the name of the variable should be ``$client``, and the phpdoc should be updated