Completed
Push — develop ( 9bb051...8e9a72 )
by Mohamed
02:59
created
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/Message/Queue/QueryTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,5 +32,8 @@
 block discarded – undo
32 32
         return $this->with('changeBy', 'model')->orderBy('created_at', 'DESC')->orderBy('id', 'DESC');
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $relations
37
+     */
35 38
     abstract public static function with($relations);
36 39
 }
Please login to merge, or discard this patch.
app/Model/Traits/Project/CountTrait.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -182,7 +182,15 @@
 block discarded – undo
182 182
         return $query;
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $relations
187
+     */
185 188
     abstract public static function with($relations);
189
+
190
+    /**
191
+     * @param string $related
192
+     * @param string $foreignKey
193
+     */
186 194
     abstract public function hasOne($related, $foreignKey = null, $localKey = null);
187 195
     abstract public function isPrivateInternal();
188 196
 }
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/Role/QueryTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,5 +43,8 @@
 block discarded – undo
43 43
         return $this->with('users')->orderBy('id', 'DESC')->get();
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $relations
48
+     */
46 49
     abstract public static function with($relations);
47 50
 }
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/User/QueryTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@
 block discarded – undo
138 138
         return $this->permission;
139 139
     }
140 140
 
141
+    /**
142
+     * @param string $relations
143
+     */
141 144
     abstract public static function with($relations);
142 145
     abstract public function getLoggedUser();
143 146
 }
Please login to merge, or discard this patch.