Skip to content

Commit 7979ef5

Browse files
committed
Add a docblock
1 parent ac23f7a commit 7979ef5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/JsonApi.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ public function getBasePath(): string
260260
return $this->basePath;
261261
}
262262

263+
/**
264+
* Strip the API's base path from the start of the given path.
265+
*/
263266
public function stripBasePath(string $path): string
264267
{
265268
$basePath = parse_url($this->basePath, PHP_URL_PATH);

0 commit comments

Comments
 (0)