File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -489,16 +489,16 @@ public function build()
489
489
$ this ->connectionParams = [];
490
490
}
491
491
492
- // Make sure we are setting Content-type and Accept (unless the user has explicitly
492
+ // Make sure we are setting Content-Type and Accept (unless the user has explicitly
493
493
// overridden it
494
494
if (isset ($ this ->connectionParams ['client ' ]['headers ' ]) === false ) {
495
495
$ this ->connectionParams ['client ' ]['headers ' ] = [
496
- 'Content-type ' => ['application/json ' ],
496
+ 'Content-Type ' => ['application/json ' ],
497
497
'Accept ' => ['application/json ' ]
498
498
];
499
499
} else {
500
- if (isset ($ this ->connectionParams ['client ' ]['headers ' ]['Content-type ' ]) === false ) {
501
- $ this ->connectionParams ['client ' ]['headers ' ]['Content-type ' ] = ['application/json ' ];
500
+ if (isset ($ this ->connectionParams ['client ' ]['headers ' ]['Content-Type ' ]) === false ) {
501
+ $ this ->connectionParams ['client ' ]['headers ' ]['Content-Type ' ] = ['application/json ' ];
502
502
}
503
503
if (isset ($ this ->connectionParams ['client ' ]['headers ' ]['Accept ' ]) === false ) {
504
504
$ this ->connectionParams ['client ' ]['headers ' ]['Accept ' ] = ['application/json ' ];
You can’t perform that action at this time.
0 commit comments