Skip to content

Commit ba758e8

Browse files
committed
Update setter's phpdoc return - ApiProblem to $this
1 parent bf80bf2 commit ba758e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ApiProblem.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public function getTitle(): string
331331
*
332332
* @param string $title
333333
* The title to set.
334-
* @return ApiProblem
334+
* @return $this
335335
* The invoked object.
336336
*/
337337
public function setTitle(string $title): self
@@ -356,7 +356,7 @@ public function getType(): string
356356
*
357357
* @param string $type
358358
* The resolvable problem type URI of this problem.
359-
* @return ApiProblem
359+
* @return $this
360360
* The invoked object.
361361
*/
362362
public function setType(string $type): self
@@ -381,7 +381,7 @@ public function getDetail(): string
381381
*
382382
* @param string $detail
383383
* The human-readable detail string about this problem.
384-
* @return ApiProblem
384+
* @return $this
385385
* The invoked object.
386386
*/
387387
public function setDetail(string $detail): self
@@ -408,7 +408,7 @@ public function getInstance(): string
408408
* An absolute URI that uniquely identifies this problem. It MAY link to
409409
* further information about the error, but that is not required.
410410
*
411-
* @return ApiProblem
411+
* @return $this
412412
* The invoked object.
413413
*/
414414
public function setInstance(string $instance): self
@@ -436,7 +436,7 @@ public function getStatus(): int
436436
*
437437
* @param int $status
438438
* A valid HTTP status code.
439-
* @return ApiProblem
439+
* @return $this
440440
* The invoked object.
441441
*/
442442
public function setStatus(int $status): self

0 commit comments

Comments
 (0)