Skip to content

Commit

Permalink
Update reverse_client.php example to use doNormal()
Browse files Browse the repository at this point in the history
`do()` is a reserved word in PHP7, and is deprecated.
  • Loading branch information
oligriffiths committed Apr 26, 2016
1 parent e77f981 commit 287811c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/reverse_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Send reverse job
do
{
$result= $gmclient->do("reverse", "Hello!");
$result = $gmclient->doNormal("reverse", "Hello!");
# Check for various return packets and errors.
switch($gmclient->returnCode())
{
Expand Down

0 comments on commit 287811c

Please sign in to comment.