diff --git a/README.md b/README.md index 5a31ee5..b117f9d 100644 --- a/README.md +++ b/README.md @@ -273,7 +273,7 @@ use Netflie\WhatsAppCloudApi\WebHook; // Instantiate the WhatsAppCloudApi super class. $webhook = new WebHook(); -return $webhook->verify($_GET, ""); +echo $webhook->verify($_GET, ""); ``` ### Webhook notifications @@ -294,7 +294,6 @@ fwrite(STDOUT, print_r($payload, true) . "\n"); // Instantiate the Webhook super class. $webhook = new WebHook(); - fwrite(STDOUT, print_r($webhook->read(json_decode($payload, true)), true) . "\n"); ```