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')
144144
145145 // If we have no content, we don't want to set this header, as it will be blank
146146 $ contentType = $ formatter ->getContentType ();
147- if (!empty ($ contentType )) {
147+ if (! empty ($ contentType )) {
148148 $ this ->headers ->set ('Content-Type ' , $ formatter ->getContentType ());
149149 }
150150
@@ -157,7 +157,7 @@ public function morph($format = 'json')
157157 } elseif (is_array ($ this ->content ) || $ this ->content instanceof ArrayObject || $ this ->content instanceof Arrayable) {
158158 $ this ->content = $ formatter ->formatArray ($ this ->content );
159159 } else {
160- if (!empty ($ defaultContentType )) {
160+ if (! empty ($ defaultContentType )) {
161161 $ this ->headers ->set ('Content-Type ' , $ defaultContentType );
162162 }
163163 }
You can’t perform that action at this time.
0 commit comments