Skip to content

Commit 964038c

Browse files
authored
Merge pull request #48 from swaggest/handling-local-file-refs
reverting lib-level file:// support due to being supported by PHP itself
2 parents 36fc856 + d3d20f1 commit 964038c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/RemoteRef/BasicFetcher.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ class BasicFetcher implements RemoteRefProvider
88
{
99
public function getSchemaData($url)
1010
{
11-
if (strtolower(substr($url, 0, 7)) === 'file://') {
12-
$url = substr($url, 7);
13-
}
1411
return json_decode(file_get_contents($url));
1512
}
1613
}

0 commit comments

Comments
 (0)