Skip to content

Commit fb55178

Browse files
authored
Merge pull request #37 from 21TORR/mark-dep
Mark method as deprecated in PHPDoc as well
2 parents 67a75b7 + 36efed3 commit fb55178

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
3.1.1
2+
=====
3+
4+
* (improvement) Mark method as deprecated in PHPDoc as well.
5+
6+
17
3.1.0
28
=====
39

src/Api/ApiResponse.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public function __construct (
2929

3030
/**
3131
* @return $this
32+
*
33+
* @deprecated Calling ApiResponse::withStatusCode() is deprecated, pass the status code in the constructor instead.
3234
*/
3335
public function withStatusCode (int $statusCode) : self
3436
{

0 commit comments

Comments
 (0)