4646 * @method string|array compactLayouts(string $resource, array $options = [])
4747 * @method string|array flexiPage(string $resource, array $options = [])
4848 * @method string|array knowledgeManagement(string $resource, array $options = [])
49- * @method string|array sobjects(string $resource, array $options = [])
49+ * @method string|array sobjects(string $resource = "" , array $options = [])
5050 * @method string|array actions(string $resource, array $options = [])
5151 * @method string|array support(string $resource, array $options = [])
5252 *
@@ -212,13 +212,13 @@ private function handleRequest()
212212 } else {
213213 $ this ->setFormatter ($ this ->settings ['defaults ' ]['format ' ]);
214214 }
215-
215+
216216 if (isset ($ this ->options ['headers ' ])) {
217217 $ this ->parameters ['headers ' ] = array_replace_recursive ($ this ->formatter ->setHeaders (), $ this ->options ['headers ' ]);
218218 } else {
219219 $ this ->parameters ['headers ' ] = $ this ->formatter ->setHeaders ();
220220 }
221-
221+
222222 if (isset ($ this ->options ['body ' ])) {
223223 if ($ this ->parameters ['headers ' ]['Content-Type ' ] == $ this ->formatter ->getDefaultMIMEType ()) {
224224 $ this ->parameters ['body ' ] = $ this ->formatter ->setBody ($ this ->options ['body ' ]);
@@ -228,13 +228,13 @@ private function handleRequest()
228228 } else {
229229 unset($ this ->parameters ['body ' ]);
230230 }
231-
231+
232232 if (isset ($ this ->options ['query ' ])) {
233233 $ this ->parameters ['query ' ] = http_build_query ($ this ->options ['query ' ]);
234234 } else {
235235 unset($ this ->parameters ['query ' ]);
236236 }
237-
237+
238238 if (isset ($ this ->options ['json ' ])) {
239239 $ this ->parameters ['json ' ] = $ this ->options ['json ' ];
240240 } else {
0 commit comments