Completed
Branch develop-3.0 (efe4ef)
by Mohamed
02:53
created
app/Repository/Project/Issue/Attachment/Updater.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      * @param Project $project
43 43
      * @param User    $user
44 44
      *
45
-     * @return Project\Issue\Attachment
45
+     * @return boolean
46 46
      */
47 47
     public function upload(array $input, Project $project, User $user)
48 48
     {
@@ -102,10 +102,10 @@  discard block
 block discarded – undo
102 102
      * Update upload token for issue attachment.
103 103
      *
104 104
      * @param string  $token
105
-     * @param int|User $uploadBy
105
+     * @param integer $uploadBy
106 106
      * @param int     $issueId
107 107
      *
108
-     * @return Project\Issue\Attachment
108
+     * @return boolean
109 109
      */
110 110
     public function updateIssueToken($token, $uploadBy, $issueId)
111 111
     {
@@ -116,11 +116,11 @@  discard block
 block discarded – undo
116 116
      * Update upload token for comment attachment.
117 117
      *
118 118
      * @param string   $token
119
-     * @param int|User $uploadBy
119
+     * @param integer $uploadBy
120 120
      * @param int      $issueId
121 121
      * @param int      $commentId
122 122
      *
123
-     * @return Project\Issue\Attachment
123
+     * @return boolean|null
124 124
      */
125 125
     public function updateCommentToken($token, $uploadBy, $issueId, $commentId)
126 126
     {
Please login to merge, or discard this patch.