From ba758e8bce4fdfe22823e4d1273a595ea139d91e Mon Sep 17 00:00:00 2001 From: sasezaki Date: Mon, 15 Dec 2025 09:19:24 +0900 Subject: [PATCH] Update setter's phpdoc return - ApiProblem to $this --- src/ApiProblem.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ApiProblem.php b/src/ApiProblem.php index 4d72e0c..8bc86cb 100644 --- a/src/ApiProblem.php +++ b/src/ApiProblem.php @@ -331,7 +331,7 @@ public function getTitle(): string * * @param string $title * The title to set. - * @return ApiProblem + * @return $this * The invoked object. */ public function setTitle(string $title): self @@ -356,7 +356,7 @@ public function getType(): string * * @param string $type * The resolvable problem type URI of this problem. - * @return ApiProblem + * @return $this * The invoked object. */ public function setType(string $type): self @@ -381,7 +381,7 @@ public function getDetail(): string * * @param string $detail * The human-readable detail string about this problem. - * @return ApiProblem + * @return $this * The invoked object. */ public function setDetail(string $detail): self @@ -408,7 +408,7 @@ public function getInstance(): string * An absolute URI that uniquely identifies this problem. It MAY link to * further information about the error, but that is not required. * - * @return ApiProblem + * @return $this * The invoked object. */ public function setInstance(string $instance): self @@ -436,7 +436,7 @@ public function getStatus(): int * * @param int $status * A valid HTTP status code. - * @return ApiProblem + * @return $this * The invoked object. */ public function setStatus(int $status): self