Skip to content

Commit

Permalink
(phpstan) exception argument ordering fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDPC committed Aug 7, 2024
1 parent 129268a commit 0ef6236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/ChimpleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public function subscribe($data = [], Form $form = null)
$sub->Tags = $mc_config->Tags;
$sub_id = $sub->write();
if (!$sub_id) {
throw new RequestException("502", "Bad Gateway");
throw new RequestException("Bad Gateway", 502);
}
}

Expand Down

0 comments on commit 0ef6236

Please sign in to comment.