We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c018348 commit 413b994Copy full SHA for 413b994
src/Api/AbstractApi.php
@@ -219,14 +219,14 @@ protected function handleErrors(ResponseInterface $response): void
219
220
/**
221
* @param string|int|null ...$parameter
222
- * @return string
+ * @return string example `content/34636069`
223
*/
224
protected static function getRestfulUri(...$parameter): string
225
{
226
$parameterString = implode('/', array_filter($parameter));
227
228
if (!empty($parameterString)) {
229
- return '/' . $parameterString;
+ return $parameterString;
230
}
231
232
return '';
0 commit comments