Completed
Branch develop-3.0 (132dbd)
by Mohamed
03:28
created
app/Model/Tag.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param string $url
98 98
      *
99
-     * @return mixed
99
+     * @return string
100 100
      */
101 101
     public function to($url)
102 102
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Returns an array of core groups.
144 144
      *
145
-     * @return array
145
+     * @return string[]
146 146
      */
147 147
     public static function getCoreGroups()
148 148
     {
Please login to merge, or discard this patch.
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/Services/SettingsManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Returns first status tag id.
100 100
      *
101
-     * @return int
101
+     * @return string
102 102
      */
103 103
     public function getFirstStatusTagId()
104 104
     {
Please login to merge, or discard this patch.
app/Providers/BladeServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     /**
112 112
      * Return arguments and name from blade expression.
113 113
      *
114
-     * @param $expression
114
+     * @param string $expression
115 115
      *
116 116
      * @return array
117 117
      */
Please login to merge, or discard this patch.
app/Model/Project/Note/SendMessages.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Illuminate\Support\Collection;
15 15
 use Tinyissue\Model\Message\Queue;
16 16
 use Tinyissue\Model\Project;
17
-use Tinyissue\Model\Project\Issue;
18 17
 use Tinyissue\Services\SendMessagesAbstract;
19 18
 
20 19
 /**
Please login to merge, or discard this patch.
app/Model/ProjectRelations.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -176,7 +176,17 @@
 block discarded – undo
176 176
             ->orderBy('position');
177 177
     }
178 178
 
179
+    /**
180
+     * @param string $related
181
+     * @param string $foreignKey
182
+     */
179 183
     abstract public function hasMany($related, $foreignKey = null, $localKey = null);
180 184
 
185
+    /**
186
+     * @param string $related
187
+     * @param string $table
188
+     * @param string $foreignKey
189
+     * @param string $otherKey
190
+     */
181 191
     abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null);
182 192
 }
Please login to merge, or discard this patch.
app/Repository/Message/Queue/Updater.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param Model    $model
29 29
      * @param int|User $changeBy
30 30
      *
31
-     * @return void
31
+     * @return null|boolean
32 32
      */
33 33
     public function queue($name, Model $model, $changeBy)
34 34
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param Model    $model
64 64
      * @param int|User $changeBy
65 65
      *
66
-     * @return void
66
+     * @return boolean
67 67
      */
68 68
     public function queueDelete($name, Model $model, $changeBy)
69 69
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * @param array         $removed
85 85
      * @param UserInterface $changeBy
86 86
      *
87
-     * @return mixed
87
+     * @return boolean
88 88
      */
89 89
     public function queueIssueTagChanges(Issue $issue, array $added, array $removed, UserInterface $changeBy)
90 90
     {
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.