Completed
Branch develop-3.0 (63d375)
by Mohamed
02:58
created
app/Services/SendMessagesAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -336,7 +336,7 @@
 block discarded – undo
336 336
     /**
337 337
      * Returns the model that is belong to the queue message.
338 338
      *
339
-     * @return Issue|Issue\Comment|Note
339
+     * @return \Illuminate\Database\Eloquent\Model
340 340
      */
341 341
     protected function getModel()
342 342
     {
Please login to merge, or discard this patch.
app/Repository/Project/Fetcher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Returns all users that are not assigned in the current project.
65 65
      *
66
-     * @return array
66
+     * @return \Illuminate\Support\Collection
67 67
      */
68 68
     public function getNotMembers()
69 69
     {
Please login to merge, or discard this patch.
app/Repository/Project/Updater.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param int $userId
48 48
      * @param int $roleId
49 49
      *
50
-     * @return Project\User
50
+     * @return boolean
51 51
      */
52 52
     public function assignUser($userId, $roleId = 0)
53 53
     {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      *
81 81
      * @param array $input
82 82
      *
83
-     * @return $this
83
+     * @return Project
84 84
      */
85 85
     public function create(array $input = [])
86 86
     {
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Updater.php 1 patch
Doc Comments   +4 added lines, -4 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
     {
Please login to merge, or discard this patch.
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.
app/Form/UserMessagesSettings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * @param ProjectModel $project
85
-     * @param array        $messages
85
+     * @param Collection        $messages
86 86
      *
87 87
      * @return array
88 88
      */
Please login to merge, or discard this patch.
app/Extensions/Html/FormBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @param       $former
103
+     * @param       Former\Form\Form $former
104 104
      * @param array $attributes
105 105
      * @param array $rules
106 106
      *
Please login to merge, or discard this patch.
app/Repository/RepositoryUpdater.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param array $data
65 65
      *
66
-     * @return mixed
66
+     * @return Model
67 67
      */
68 68
     public function create(array $data)
69 69
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param array $attributes
79 79
      *
80
-     * @return mixed
80
+     * @return boolean
81 81
      */
82 82
     public function update(array $attributes = [])
83 83
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * Return path to an upload directory in the project storage.
154 154
      *
155
-     * @param Project|int $projectOrId
155
+     * @param Project $projectOrId
156 156
      * @param string      $token
157 157
      *
158 158
      * @return string
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Comment/MessageQueuer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @param CommentModel $comment
24 24
      * @param Model\User   $changeBy
25 25
      *
26
-     * @return void
26
+     * @return null|boolean
27 27
      */
28 28
     public function queueAdd(CommentModel $comment, Model\User $changeBy)
29 29
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * @param CommentModel $comment
42 42
      * @param Model\User   $changeBy
43 43
      *
44
-     * @return void
44
+     * @return null|boolean
45 45
      */
46 46
     public function queueUpdate(CommentModel $comment, Model\User $changeBy)
47 47
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @param CommentModel $comment
60 60
      * @param Model\User   $changeBy
61 61
      *
62
-     * @return void
62
+     * @return null|boolean
63 63
      */
64 64
     public function queueDelete(CommentModel $comment, Model\User $changeBy)
65 65
     {
Please login to merge, or discard this patch.