Skip to content

Commit b92c0d5

Browse files
committed
SP-104 build query fix
1 parent 6ff5a43 commit b92c0d5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/API/Authentication.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@ public function get_authorize_link(
165165
return sprintf(
166166
'https://%s/authorize?%s',
167167
$this->domain,
168-
Psr7\build_query($params)
168+
Psr7\Query::build($params)
169169
);
170170

171171

172172
return sprintf(
173173
'https://%s/authenticate/oauth/authorize?%s',
174174
$this->domain,
175-
Psr7\build_query($params)
175+
Psr7\Query::build($params)
176176
);
177177
}
178178

@@ -235,7 +235,7 @@ public function get_wsfed_link(?string $client_id = null, array $params = []) :
235235
'https://%s/wsfed/%s?%s',
236236
$this->domain,
237237
$client_id ?? $this->client_id,
238-
Psr7\build_query($params)
238+
Psr7\Query::build($params)
239239
);
240240
}
241241

@@ -275,7 +275,7 @@ public function get_logout_link(?string $returnTo = null, $client_id = null, boo
275275
return sprintf(
276276
'https://%s/v2/logout?%s',
277277
$this->domain,
278-
Psr7\build_query($params)
278+
Psr7\Query::build($params)
279279
);
280280
}
281281

0 commit comments

Comments
 (0)