Skip to content

Commit 7556943

Browse files
authored
fix: default value followed by a required parameter is deprecated in PHP8 (#39)
1 parent d4c63aa commit 7556943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuth2/HttpFoundationBridge/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function setError($statusCode, $error, $description = null, $uri = null)
4545
)));
4646
}
4747

48-
public function setRedirect($statusCode = 302, $url, $state = null, $error = null, $errorDescription = null, $errorUri = null)
48+
public function setRedirect($statusCode, $url, $state = null, $error = null, $errorDescription = null, $errorUri = null)
4949
{
5050
$this->setStatusCode($statusCode);
5151

0 commit comments

Comments
 (0)