Completed
Branch develop-3.0 (4fe777)
by Mohamed
11:06
created
app/Repository/Traits/Role/RelationTrait.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -62,6 +62,19 @@
 block discarded – undo
62 62
         );
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $related
67
+     * @param string $foreignKey
68
+     * @param string $localKey
69
+     */
65 70
     abstract public function hasMany($related, $foreignKey = null, $localKey = null);
71
+
72
+    /**
73
+     * @param string $related
74
+     * @param string $table
75
+     * @param string $foreignKey
76
+     * @param string $otherKey
77
+     * @param string $relation
78
+     */
66 79
     abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null);
67 80
 }
Please login to merge, or discard this patch.
app/Repository/Traits/Tag/RelationTrait.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -62,7 +62,23 @@
 block discarded – undo
62 62
         return $this->belongsToMany('Tinyissue\Model\Project', 'projects_kanban_tags', 'project_id', 'tag_id');
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $related
67
+     * @param string $foreignKey
68
+     */
65 69
     abstract public function belongsTo($related, $foreignKey = null, $otherKey = null, $relation = null);
70
+
71
+    /**
72
+     * @param string $related
73
+     * @param string $foreignKey
74
+     */
66 75
     abstract public function hasMany($related, $foreignKey = null, $localKey = null);
76
+
77
+    /**
78
+     * @param string $related
79
+     * @param string $table
80
+     * @param string $foreignKey
81
+     * @param string $otherKey
82
+     */
67 83
     abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null);
68 84
 }
Please login to merge, or discard this patch.
app/Repository/Traits/User/Activity/RelationTrait.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.
app/Repository/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/Repository/User/CounterRepository.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@  discard block
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @param int $deleted
36 35
      *
37 36
      * @return int
38 37
      */
@@ -42,7 +41,6 @@  discard block
 block discarded – undo
42 41
     }
43 42
 
44 43
     /**
45
-     * @param int $deleted
46 44
      *
47 45
      * @return int
48 46
      */
Please login to merge, or discard this patch.
app/Repository/User/UpdaterRepository.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,6 @@
 block discarded – undo
73 73
     /**
74 74
      * Updates the users settings, validates the fields.
75 75
      *
76
-     * @param array $info
77 76
      *
78 77
      * @return Eloquent\Model
79 78
      */
Please login to merge, or discard this patch.
app/Services/Exporter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      *
57 57
      * @param string $key
58 58
      *
59
-     * @return mixed|array
59
+     * @return \Tinyissue\Model\Project
60 60
      */
61 61
     public function getParams($key = null)
62 62
     {
Please login to merge, or discard this patch.