Skip to content

Commit 3151643

Browse files
committed
Merge branch 'isredirect-308'
Closes #56
2 parents 46f409a + da55902 commit 3151643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public function isSuccessful()
388388
*/
389389
public function isRedirect()
390390
{
391-
return in_array($this->getStatusCode(), [301, 302, 303, 307]);
391+
return in_array($this->getStatusCode(), [301, 302, 303, 307, 308]);
392392
}
393393

394394
/**

0 commit comments

Comments
 (0)