Skip to content

Commit 0b1276f

Browse files
committed
Fix self response call for ApiProblem
1 parent 67d0deb commit 0b1276f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiProblem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function response(...$params)
228228

229229
if ($this->getStatus()) {
230230
// Use current object
231-
$apProblem = $this;
231+
$apiProblem = $this;
232232
} else {
233233
$status = $params[1] ?? null;
234234
$detail = $params[0] ?? null;

0 commit comments

Comments
 (0)