Completed
Push — develop ( 9bb051...8e9a72 )
by Mohamed
02:59
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/Model/Project/Note/SendMessages.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,8 @@
 block discarded – undo
12 12
 namespace Tinyissue\Model\Project\Note;
13 13
 
14 14
 use Tinyissue\Model\Project;
15
-use Tinyissue\Model\Project\Issue;
16 15
 use Tinyissue\Model\Message\Queue;
17 16
 use Illuminate\Support\Collection;
18
-use Tinyissue\Model\User;
19 17
 use Tinyissue\Services\SendMessagesAbstract;
20 18
 
21 19
 /**
Please login to merge, or discard this patch.
app/Services/SendMessagesAbstract.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Tinyissue\Model\Message;
19 19
 use Tinyissue\Model\Project;
20 20
 use Tinyissue\Model\Project\Issue;
21
-use Tinyissue\Model\Role;
22 21
 use Tinyissue\Model\User;
23 22
 
24 23
 /**
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/Model/Traits/Message/Queue/QueryTrait.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Tinyissue\Model\Traits\Message\Queue;
13 13
 
14
-use Illuminate\Database\Eloquent\Eloquent;
15
-
16 14
 /**
17 15
  * QueryTrait is trait class containing the database queries methods for the message queue model.
18 16
  *
Please login to merge, or discard this 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/User/CrudTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Hash;
15 15
 use Illuminate\Database\Eloquent;
16
-use Mail;
17 16
 use Tinyissue\Model\Project;
18 17
 use Tinyissue\Model\User;
19 18
 
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/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.