diff --git a/README.md b/README.md index 3c13d0a..1239155 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ $httpResponseBody = $result->http_response_body; # Iterate through the results and echo the message IDs. $logItems = $result->http_response_body->items; -for($logItems as $logItem){ +foreach($logItems as $logItem){ echo $logItem->message_id . "\n"; } ```