Skip to content

Commit

Permalink
resolve status code value through LabeledValue and Value
Browse files Browse the repository at this point in the history
Should fix the failing tests caused by 4b0930c
  • Loading branch information
duncanmcclean committed Feb 13, 2024
1 parent 4b0930c commit 172bc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Responses/DataResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function getRedirect()
$code = 302;

if (is_array($redirect)) {
$code = $redirect['status'];
$code = $redirect['status']->value()->value();
$redirect = $redirect['url'];
}

Expand Down

0 comments on commit 172bc9c

Please sign in to comment.