Skip to content

Commit 4dc5e4f

Browse files
committed
Solve DS problem.
1 parent 30d622a commit 4dc5e4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/JsonSchema/Uri/UriResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private static function normalizePath($path)
155155
*/
156156
private static function getPathSegments($path) {
157157

158-
return explode(DIRECTORY_SEPARATOR, $path);
158+
return explode("/", $path);
159159
}
160160

161161
/**

src/JsonSchema/Uri/UriRetriever.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private static function normalizePath($path)
265265
*/
266266
private static function getPathSegments($path)
267267
{
268-
return explode(DIRECTORY_SEPARATOR, $path);
268+
return explode("/", $path);
269269
}
270270

271271
/**

0 commit comments

Comments
 (0)