You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Redmine/Api/AbstractApi.php
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ final public function getLastResponse(): Response
81
81
*
82
82
* @return bool
83
83
*
84
-
* @deprecated since v2.1.0, because it does not correctly handle 2xx codes that are not 200 or 201, use `Redmine\Api\AbstractApi::getLastResponse()->getStatusCode()` instead
84
+
* @deprecated v2.1.0 It does not correctly handle 2xx codes that are not 200 or 201, use `Redmine\Api\AbstractApi::getLastResponse()->getStatusCode()` instead
85
85
* @see AbstractApi::getLastResponse()->getStatusCode() for checking the status code directly
86
86
*/
87
87
publicfunctionlastCallFailed()
@@ -102,7 +102,8 @@ public function lastCallFailed()
102
102
/**
103
103
* Perform the client get() method.
104
104
*
105
-
* @deprecated since v2.6.0, use `\Redmine\Http\HttpClient::request()` instead
105
+
* @deprecated v2.6.0 Use `\Redmine\Http\HttpClient::request()` instead
106
+
* @see \Redmine\Http\HttpClient::request()
106
107
*
107
108
* @param string $path
108
109
* @param bool $decodeIfJson
@@ -141,7 +142,8 @@ protected function get($path, $decodeIfJson = true)
141
142
/**
142
143
* Perform the client post() method.
143
144
*
144
-
* @deprecated since v2.6.0, use `\Redmine\Http\HttpClient::request()` instead
145
+
* @deprecated v2.6.0 Use `\Redmine\Http\HttpClient::request()` instead
146
+
* @see \Redmine\Http\HttpClient::request()
145
147
*
146
148
* @param string $path
147
149
* @param string $data
@@ -247,7 +249,8 @@ protected function sanitizeParams(array $defaults, array $params)
247
249
* Retrieves all the elements of a given endpoint (even if the
248
250
* total number of elements is greater than 100).
249
251
*
250
-
* @deprecated since v2.2.0, use `retrieveData()` instead
252
+
* @deprecated v2.2.0 Use `retrieveData()` instead
253
+
* @see AbstractApi::retrieveData()
251
254
*
252
255
* @param string $endpoint API end point
253
256
* @param array $params optional parameters to be passed to the api (offset, limit, ...)
0 commit comments