We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e6b15 commit c93a38dCopy full SHA for c93a38d
1 file changed
src/targets/php/curl.js
@@ -33,11 +33,11 @@ module.exports = function (source, options) {
33
}
34
35
if (source.postData) {
36
- if (source.postData.mimeType == 'application/x-www-form-urlencoded') {
37
- code.push('$postData = http_build_query('+helpers.convert(source.postData.paramsObj, opts.indent)+');')
+ if (source.postData.mimeType === 'application/x-www-form-urlencoded') {
+ code.push('$postData = http_build_query(' + helpers.convert(source.postData.paramsObj, opts.indent) + ');')
38
.blank()
39
} else {
40
- code.push('$postData = "'+source.postData.text+'";')
+ code.push('$postData = "' + source.postData.text + '";')
41
42
43
0 commit comments