We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
null
NULL
1 parent c4f38e1 commit 6dbb2b7Copy full SHA for 6dbb2b7
src/targets/php/http2.js
@@ -60,8 +60,8 @@ module.exports = function (source, options) {
60
61
code.push('$body = new http\\Message\\Body;')
62
.push('$body->addForm(%s, %s);',
63
- Object.keys(fields).length ? helpers.convert(fields, opts.indent) : 'NULL',
64
- files.length ? helpers.convert(files, opts.indent) : 'NULL'
+ Object.keys(fields).length ? helpers.convert(fields, opts.indent) : 'null',
+ files.length ? helpers.convert(files, opts.indent) : 'null'
65
)
66
67
// remove the contentType header
0 commit comments