Skip to content

Commit

Permalink
fix(php8): required params should be first (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudkumar authored Aug 30, 2021
1 parent ae340fe commit 1c75ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exceptions/ResponseErrorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ResponseErrorException extends Exception
*/
protected $errors;

public function __construct($message = "", $code = 0, Throwable $previous = null, $errors)
public function __construct($message = "", $code = 0, Throwable $previous = null, $errors = null)
{
$this->errors = $errors;
parent::__construct($message, $code, $previous);
Expand Down

0 comments on commit 1c75ad7

Please sign in to comment.