File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 "ext-pcre" : " *" ,
4444 "ext-spl" : " *" ,
4545
46- "guzzlehttp/psr7" : " ~2.8" ,
4746 "psr/clock" : " ~1.0" ,
4847 "simplesamlphp/assert" : " ~3.0" ,
4948 "simplesamlphp/composer-xmlprovider-installer" : " ~1.3"
Original file line number Diff line number Diff line change 44
55namespace SimpleSAML \XMLSchema \Type ;
66
7- use GuzzleHttp \Psr7 \Uri ;
8- use GuzzleHttp \Psr7 \UriNormalizer ;
97use SimpleSAML \XML \Assert \Assert ;
108use SimpleSAML \XMLSchema \Exception \SchemaViolationException ;
119use SimpleSAML \XMLSchema \Type \Interface \AbstractAnySimpleType ;
1210use SimpleSAML \XMLSchema \Type \Interface \ValueTypeInterface ;
11+ use Uri \Rfc3986 \Uri ;
1312
1413/**
1514 * @package simplesaml/xml-common
@@ -57,6 +56,6 @@ public function equals(ValueTypeInterface|string $other): bool
5756 $ selfUri = new Uri ($ this ->getValue ());
5857 $ otherUri = new Uri ($ other ->getValue ());
5958
60- return UriNormalizer:: isEquivalent ( $ selfUri, $ otherUri );
59+ return $ selfUri-> equals ( $ otherUri );
6160 }
6261}
You can’t perform that action at this time.
0 commit comments