Completed
Branch master (7a36f1)
by Mohamed
04:08
created
app/Model/Traits/Project/Issue/CrudTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * Reassign the issue to a new user
69 69
      *
70
-     * @param int|User $assignTo
70
+     * @param integer $assignTo
71 71
      * @param int|User $user
72 72
      *
73 73
      * @return Eloquent\Model
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/Traits/CountAttributeTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * Eager load relations on the model.
45 45
      *
46
-     * @param array|string $relations
46
+     * @param string $relations
47 47
      *
48 48
      * @return $this
49 49
      */
Please login to merge, or discard this patch.
app/Model/Traits/Project/Issue/Comment/CrudTrait.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -124,8 +124,20 @@
 block discarded – undo
124 124
     }
125 125
 
126 126
     abstract public function fill(array $attributes);
127
+
128
+    /**
129
+     * @param User $changeBy
130
+     */
127 131
     abstract public function queueAdd(Issue\Comment $issue, $changeBy);
132
+
133
+    /**
134
+     * @param User $changeBy
135
+     */
128 136
     abstract public function queueUpdate(Issue\Comment $issue, $changeBy);
137
+
138
+    /**
139
+     * @param User $changeBy
140
+     */
129 141
     abstract public function queueDelete(Issue\Comment $issue, $changeBy);
130 142
     abstract public function save(array $options = []);
131 143
     abstract public function activity();
Please login to merge, or discard this patch.
app/Model/Traits/Project/QueryTrait.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -215,8 +215,16 @@
 block discarded – undo
215 215
     abstract public function filterAssignTo(Relations\HasMany $query, $userId);
216 216
     abstract public function filterTitleOrBody(Relations\HasMany $query, $keyword);
217 217
     abstract public function filterTags(Relations\HasMany $query, $tags);
218
+
219
+    /**
220
+     * @return boolean
221
+     */
218 222
     abstract public function isPrivateInternal();
219 223
     abstract public function filterCreatedBy(Relations\HasMany $query, $userId, $enabled = false);
220 224
     abstract public function sortByUpdated(Relations\HasMany $query, $order = 'asc');
225
+
226
+    /**
227
+     * @param string $tagGroup
228
+     */
221 229
     abstract public function sortByTag(Relations\HasMany $query, $tagGroup, $order = 'asc');
222 230
 }
Please login to merge, or discard this patch.
app/Model/Traits/User/CountTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -93,5 +93,8 @@
 block discarded – undo
93 93
 
94 94
     abstract public function issuesCreatedBy();
95 95
 
96
+    /**
97
+     * @param string $key
98
+     */
96 99
     abstract public function permission($key);
97 100
 }
Please login to merge, or discard this patch.
app/Model/Traits/Project/CountTrait.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -182,6 +182,10 @@
 block discarded – undo
182 182
         return $query;
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $related
187
+     * @param string $foreignKey
188
+     */
185 189
     abstract public function hasOne($related, $foreignKey = null, $localKey = null);
186 190
     abstract public function isPrivateInternal();
187 191
 }
Please login to merge, or discard this patch.