Skip to content

Commit

Permalink
Fix gzipCompress function name
Browse files Browse the repository at this point in the history
PHP doesn't have `gzipCompress` function, use `gzcompress` instead
http://php.net/manual/en/function.gzcompress.php
  • Loading branch information
FallDi authored Feb 9, 2018
1 parent 23a717e commit d391712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ The following settings are available for the client:
'User-Agent' => $client->getUserAgent(),
'X-Sentry-Auth' => $client->getAuthHeader(),
),
'body' => gzipCompress(jsonEncode($data)),
'body' => gzcompress(jsonEncode($data)),
))
},
Expand Down

0 comments on commit d391712

Please sign in to comment.