Skip to content

Commit d96a6d2

Browse files
[FEATURE] Lint fix (LRN-48801)
1 parent 7407e08 commit d96a6d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Request/Init.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ private function deriveAction(): string
255255
$parsedUrl = parse_url($this->endpoint);
256256
$path = $parsedUrl['path'] ?? '';
257257

258-
// Remove version information from the path (e.g., /v2023.1.lts/itembank/items -> /itembank/items, /v1/sessions -> /sessions)
258+
// Remove version information from the path
259+
// (e.g., /v2023.1.lts/itembank/items -> /itembank/items, /v1/sessions -> /sessions)
259260
$path = preg_replace('/\/v\d+(\.\d+)*(\.[a-zA-Z]+)?/', '', $path);
260261

261262
// Ensure path starts with /

0 commit comments

Comments
 (0)