Skip to content

Commit d5a2fc1

Browse files
author
Pavel Filípek
committed
repair BasicFetcher - $ref for https source - cod styling
1 parent d332cc1 commit d5a2fc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/RemoteRef/BasicFetcher.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ public function getSchemaData($url)
1010
{
1111
$arrContextOptions = [
1212
"ssl" => [
13-
"verify_peer" => FALSE,
14-
"verify_peer_name" => FALSE,
13+
"verify_peer" => false,
14+
"verify_peer_name" => false,
1515
],
1616
];
1717

18-
if ($data = file_get_contents(rawurldecode($url), FALSE, stream_context_create($arrContextOptions))) {
18+
if ($data = file_get_contents(rawurldecode($url), false, stream_context_create($arrContextOptions))) {
1919
return json_decode($data);
2020
}
2121
return false;

0 commit comments

Comments
 (0)