function _caseless_remove in Auth0 Single Sign On 8.2
@internal
1 call to _caseless_remove()
- modify_request in vendor/
guzzlehttp/ psr7/ src/ functions.php - Clone and modify a request with the given changes.
File
- vendor/
guzzlehttp/ psr7/ src/ functions.php, line 884
Namespace
GuzzleHttp\Psr7Code
function _caseless_remove($keys, array $data) {
$result = [];
foreach ($keys as &$key) {
$key = strtolower($key);
}
foreach ($data as $k => $v) {
if (!in_array(strtolower($k), $keys)) {
$result[$k] = $v;
}
}
return $result;
}