Completed
Branch develop-3.0 (ae28cb)
by Mohamed
08:28
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/Model/Project/IssueScopes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * Filter issue by assigned to.
84 84
      *
85 85
      * @param Builder $query
86
-     * @param null    $user
86
+     * @param null|UserInterface    $user
87 87
      *
88 88
      * @return Builder
89 89
      */
Please login to merge, or discard this patch.
app/Policies/AttachmentPolicy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * @param UserInterface $user
18 18
      *
19
-     * @return bool
19
+     * @return boolean|null
20 20
      */
21 21
     public function before(UserInterface $user)
22 22
     {
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Attachment/Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * @param Project       $project
38 38
      * @param UserInterface $user
39 39
      *
40
-     * @return Project\Issue\Attachment
40
+     * @return boolean
41 41
      */
42 42
     public function upload(array $input, Project $project, UserInterface $user)
43 43
     {
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Comment/Updater.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      *
79 79
      * @param string $body
80 80
      *
81
-     * @return Comment
81
+     * @return boolean
82 82
      */
83 83
     public function updateBody($body)
84 84
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Delete a comment and its attachments.
104 104
      *
105
-     * @return Comment
105
+     * @return boolean|null
106 106
      *
107 107
      * @throws \Exception
108 108
      */
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * Insert add comment to message queue.
127 127
      *
128 128
      * @param Comment  $comment
129
-     * @param int|User $changeBy
129
+     * @param \Tinyissue\Contracts\Model\UserInterface $changeBy
130 130
      *
131 131
      * @return void
132 132
      */
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * Insert update comment to message queue.
145 145
      *
146 146
      * @param Comment  $comment
147
-     * @param int|User $changeBy
147
+     * @param \Tinyissue\Contracts\Model\UserInterface $changeBy
148 148
      *
149 149
      * @return void
150 150
      */
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      * Insert delete comment to message queue.
163 163
      *
164 164
      * @param Comment  $comment
165
-     * @param int|User $changeBy
165
+     * @param \Tinyissue\Contracts\Model\UserInterface $changeBy
166 166
      *
167 167
      * @return void
168 168
      */
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Updater.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @param int $userId
34 34
      *
35
-     * @return Project\Issue
35
+     * @return boolean
36 36
      */
37 37
     public function changeUpdatedBy($userId)
38 38
     {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      *
79 79
      * @param array $input
80 80
      *
81
-     * @return Project\Issue
81
+     * @return boolean
82 82
      */
83 83
     public function update(array $input = [])
84 84
     {
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      * @param int           $status
243 243
      * @param UserInterface $user
244 244
      *
245
-     * @return Project\Issue
245
+     * @return boolean
246 246
      */
247 247
     public function changeStatus($status, UserInterface $user)
248 248
     {
Please login to merge, or discard this patch.
app/Repository/Project/Note/Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      *
60 60
      * @param string $body
61 61
      *
62
-     * @return Project\Note
62
+     * @return boolean
63 63
      */
64 64
     public function updateBody($body)
65 65
     {
Please login to merge, or discard this patch.
app/Repository/RepositoryUpdater.php 1 patch
Doc Comments   +2 added lines, -2 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 boolean
67 67
      */
68 68
     public function create(array $data)
69 69
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      *
76 76
      * @param array $attributes
77 77
      *
78
-     * @return mixed
78
+     * @return boolean
79 79
      */
80 80
     public function update(array $attributes = [])
81 81
     {
Please login to merge, or discard this patch.