Skip to content

Commit

Permalink
fix: default value followed by a required parameter is deprecated in …
Browse files Browse the repository at this point in the history
…PHP8 (#39)
  • Loading branch information
araab committed Apr 26, 2022
1 parent d4c63aa commit 7556943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OAuth2/HttpFoundationBridge/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function setError($statusCode, $error, $description = null, $uri = null)
)));
}

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

Expand Down

0 comments on commit 7556943

Please sign in to comment.