Skip to content

Commit

Permalink
Resolve deprecation as suggested by a library
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaKind committed Feb 18, 2025
1 parent 4dc2423 commit a971f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Controller/BrowseControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private function buildApiRequest(array $query)

$uri = Uri::fromParts($parts);

if (!isset(parse_query($uri->getQuery())['for'])) {
if (!isset(Query::parse($uri->getQuery())['for'])) {
$uri = $uri->withQuery('for=&'.$uri->getQuery());
}

Expand Down

0 comments on commit a971f54

Please sign in to comment.