Skip to content

Commit 3801402

Browse files
authored
Merge pull request #119 from raphaelcangucu/queryParamsHotfix
Query params hotfix for PHP 8.2
2 parents b69efd4 + 87b516a commit 3801402

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Jobs/SamlSso.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private function setDestination()
178178
}
179179

180180
$queryParams = $this->getQueryParams();
181-
if (!empty($queryParams)) {
181+
if (is_array($queryParams) && !empty($queryParams)) {
182182
if (!parse_url($destination, PHP_URL_QUERY)) {
183183
$destination = Str::finish(url($destination), '?') . Arr::query($queryParams);
184184
} else {

0 commit comments

Comments
 (0)