We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c34a6ee commit 35fd871Copy full SHA for 35fd871
src/ApiProblemResponse.php
@@ -31,7 +31,7 @@ class ApiProblemResponse extends Response
31
public function __construct(ApiProblem $apiProblem)
32
{
33
$this->apiProblem = $apiProblem;
34
- $this->setStatusCode($apiProblem->status);
+ $this->setCustomStatusCode($apiProblem->status);
35
$this->setReasonPhrase($apiProblem->title);
36
37
if (defined('JSON_UNESCAPED_SLASHES')) {
0 commit comments