Completed
Branch develop-3.0 (aa1938)
by Mohamed
02:49
created
app/Repository/Project/Issue/Comment/Updater.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @param string $body
85 85
      *
86
-     * @return Comment
86
+     * @return boolean
87 87
      */
88 88
     public function updateBody($body)
89 89
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     /**
108 108
      * Delete a comment and its attachments.
109 109
      *
110
-     * @return Comment
110
+     * @return boolean|null
111 111
      *
112 112
      * @throws \Exception
113 113
      */
@@ -131,9 +131,9 @@  discard block
 block discarded – undo
131 131
      * Insert add comment to message queue.
132 132
      *
133 133
      * @param Comment  $comment
134
-     * @param int|User $changeBy
134
+     * @param User $changeBy
135 135
      *
136
-     * @return void
136
+     * @return null|boolean
137 137
      */
138 138
     public function queueAdd(Comment $comment, $changeBy)
139 139
     {
@@ -149,9 +149,9 @@  discard block
 block discarded – undo
149 149
      * Insert update comment to message queue.
150 150
      *
151 151
      * @param Comment  $comment
152
-     * @param int|User $changeBy
152
+     * @param User $changeBy
153 153
      *
154
-     * @return void
154
+     * @return null|boolean
155 155
      */
156 156
     public function queueUpdate(Comment $comment, $changeBy)
157 157
     {
@@ -167,9 +167,9 @@  discard block
 block discarded – undo
167 167
      * Insert delete comment to message queue.
168 168
      *
169 169
      * @param Comment  $comment
170
-     * @param int|User $changeBy
170
+     * @param User $changeBy
171 171
      *
172
-     * @return void
172
+     * @return null|boolean
173 173
      */
174 174
     public function queueDelete(Comment $comment, $changeBy)
175 175
     {
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Updater.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @param int $userId
38 38
      *
39
-     * @return Project\Issue
39
+     * @return boolean
40 40
      */
41 41
     public function changeUpdatedBy($userId)
42 42
     {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Reassign the issue to a new user.
51 51
      *
52
-     * @param int|User $assignTo
52
+     * @param integer $assignTo
53 53
      * @param User     $user
54 54
      *
55 55
      * @return Project\Issue
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      *
83 83
      * @param array $input
84 84
      *
85
-     * @return Project\Issue
85
+     * @return boolean
86 86
      */
87 87
     public function update(array $input = [])
88 88
     {
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
      * @param int  $status
247 247
      * @param User $user
248 248
      *
249
-     * @return Project\Issue
249
+     * @return boolean
250 250
      */
251 251
     public function changeStatus($status, User $user)
252 252
     {
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
      * @param Project\Issue $issue
405 405
      * @param User          $changeBy
406 406
      *
407
-     * @return void
407
+     * @return null|boolean
408 408
      */
409 409
     public function queueUpdate(Project\Issue $issue, User $changeBy)
410 410
     {
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
      * @param Project\Issue $issue
445 445
      * @param User          $changeBy
446 446
      *
447
-     * @return void
447
+     * @return null|boolean
448 448
      */
449 449
     public function queueAdd(Project\Issue $issue, User $changeBy)
450 450
     {
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
      * @param Project\Issue $issue
458 458
      * @param User          $changeBy
459 459
      *
460
-     * @return void
460
+     * @return null|boolean
461 461
      */
462 462
     public function queueAssign(Project\Issue $issue, User $changeBy)
463 463
     {
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
      * @param array         $removedTags
476 476
      * @param User          $changeBy
477 477
      *
478
-     * @return mixed
478
+     * @return boolean
479 479
      */
480 480
     public function queueChangeTags(Project\Issue $issue, array $addedTags, array $removedTags, User $changeBy)
481 481
     {
Please login to merge, or discard this patch.