Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiragAgg5k committed Jan 24, 2025
1 parent 951c307 commit b3028eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ class {{spec.title | caseUcfirst}}Exception(
override val message: String? = null,
val code: Int? = null,
val type: String? = null,
val response: ResponseResult?
val response: ResponseResult? = null
) : Exception(message)
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ class {{spec.title | caseUcfirst}}Exception(
override val message: String? = null,
val code: Int? = null,
val type: String? = null,
val response: ResponseResult?
val response: ResponseResult? = null
) : Exception(message)
2 changes: 1 addition & 1 deletion templates/php/src/Exception.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class {{spec.title | caseUcfirst}}Exception extends Exception {
?string $message = null,
int $code = 0,
string $type = '',
$response
$response = null
) {
parent::__construct($message, $code);
$this->response = $response;
Expand Down

0 comments on commit b3028eb

Please sign in to comment.