We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82dbfcc commit 26fd522Copy full SHA for 26fd522
src/json/JsonReference.php
@@ -87,7 +87,7 @@ public static function createFromReference(
87
$jsonReference = new JsonReference();
88
$jsonReference->_summary = $summary;
89
$jsonReference->_description = $description;
90
- if (str_contains($referenceURI, '#')) {
+ if (strpos($referenceURI, '#') !== false) {
91
list($uri, $fragment) = explode('#', $referenceURI, 2);
92
$jsonReference->_uri = $uri;
93
$jsonReference->_pointer = new JsonPointer(rawurldecode($fragment));
0 commit comments