File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ public function morph($format = 'json')
144
144
145
145
// If we have no content, we don't want to set this header, as it will be blank
146
146
$ contentType = $ formatter ->getContentType ();
147
- if (!empty ($ contentType )) {
147
+ if (! empty ($ contentType )) {
148
148
$ this ->headers ->set ('Content-Type ' , $ formatter ->getContentType ());
149
149
}
150
150
@@ -157,7 +157,7 @@ public function morph($format = 'json')
157
157
} elseif (is_array ($ this ->content ) || $ this ->content instanceof ArrayObject || $ this ->content instanceof Arrayable) {
158
158
$ this ->content = $ formatter ->formatArray ($ this ->content );
159
159
} else {
160
- if (!empty ($ defaultContentType )) {
160
+ if (! empty ($ defaultContentType )) {
161
161
$ this ->headers ->set ('Content-Type ' , $ defaultContentType );
162
162
}
163
163
}
You can’t perform that action at this time.
0 commit comments