Skip to content

Commit 157f222

Browse files
committed
Fix return type in phpdoc annotations
1 parent e29bdda commit 157f222

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

src/Redmine/Api/Attachment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function upload($attachment, $params = [])
9898
*
9999
* @param int $id id of the attachment
100100
*
101-
* @return false|SimpleXMLElement|string
101+
* @return string empty string on success
102102
*/
103103
public function remove($id)
104104
{

src/Redmine/Api/Group.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function show($id, array $params = [])
203203
*
204204
* @param int $id id of the group
205205
*
206-
* @return string
206+
* @return string empty string on success
207207
*/
208208
public function remove($id)
209209
{
@@ -250,7 +250,7 @@ public function addUser($id, $userId)
250250
* @param int $id id of the group
251251
* @param int $userId id of the user
252252
*
253-
* @return string
253+
* @return string empty string on success
254254
*/
255255
public function removeUser($id, $userId)
256256
{

src/Redmine/Api/Issue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public function addWatcher($id, $watcherUserId)
296296
* @param int $id
297297
* @param int $watcherUserId
298298
*
299-
* @return false|SimpleXMLElement|string
299+
* @return string empty string on success
300300
*/
301301
public function removeWatcher($id, $watcherUserId)
302302
{
@@ -439,7 +439,7 @@ public function attachMany($id, array $attachments)
439439
*
440440
* @param int $id the issue number
441441
*
442-
* @return false|SimpleXMLElement|string
442+
* @return string empty string on success
443443
*/
444444
public function remove($id)
445445
{

src/Redmine/Api/IssueCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function update($id, array $params)
230230
* @param int $id id of the category
231231
* @param array $params extra GET parameters
232232
*
233-
* @return string
233+
* @return string empty string on success
234234
*/
235235
public function remove($id, array $params = [])
236236
{

src/Redmine/Api/IssueRelation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function show($id)
118118
*
119119
* @param int $id the relation id
120120
*
121-
* @return string
121+
* @return string empty string on success
122122
*/
123123
public function remove($id)
124124
{

src/Redmine/Api/Membership.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function update($id, array $params = [])
163163
*
164164
* @param int $id id of the membership
165165
*
166-
* @return false|\SimpleXMLElement|string
166+
* @return string empty string on success
167167
*/
168168
public function remove($id)
169169
{

src/Redmine/Api/Project.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ protected function prepareParamsXml($params)
392392
*
393393
* @param int $id id of the project
394394
*
395-
* @return false|\SimpleXMLElement|string
395+
* @return string empty string on success
396396
*/
397397
public function remove($id)
398398
{

src/Redmine/Api/TimeEntry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function update($id, array $params)
187187
*
188188
* @param int $id id of the time entry
189189
*
190-
* @return false|\SimpleXMLElement|string
190+
* @return string empty string on success
191191
*/
192192
public function remove($id)
193193
{

src/Redmine/Api/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public function update($id, array $params)
263263
*
264264
* @param int $id id of the user
265265
*
266-
* @return false|\SimpleXMLElement|string
266+
* @return string empty string on success
267267
*/
268268
public function remove($id)
269269
{

src/Redmine/Api/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private function validateSharing(array $params = [])
266266
*
267267
* @param int $id id of the version
268268
*
269-
* @return string
269+
* @return string empty string on success
270270
*/
271271
public function remove($id)
272272
{

0 commit comments

Comments
 (0)