private static function migrateQuery(array $query)
{
$output = [];
foreach ($query as $key => $value) {
if (is_array($value)) {
$value = array_map('urldecode', $value);
}
$new = \Locker\Helpers\Helpers::replaceFullStopInKeys($key);
$output[$new] = $value;
}
return $output;
}