Completed
Branch develop-3.0 (904b40)
by Mohamed
02:43
created
app/Model/ProjectRelations.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -195,7 +195,15 @@
 block discarded – undo
195 195
             ->orderBy('position');
196 196
     }
197 197
 
198
+    /**
199
+     * @param string $foreignKey
200
+     */
198 201
     abstract public function hasMany($related, $foreignKey = null, $localKey = null);
199 202
 
203
+    /**
204
+     * @param string $table
205
+     * @param string $foreignKey
206
+     * @param string $otherKey
207
+     */
200 208
     abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null);
201 209
 }
Please login to merge, or discard this patch.
app/Model/TagRelations.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -72,9 +72,20 @@
 block discarded – undo
72 72
         return $this->belongsToMany(Project::class, 'projects_kanban_tags', 'project_id', 'tag_id');
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $foreignKey
77
+     */
75 78
     abstract public function belongsTo($related, $foreignKey = null, $otherKey = null, $relation = null);
76 79
 
80
+    /**
81
+     * @param string $foreignKey
82
+     */
77 83
     abstract public function hasMany($related, $foreignKey = null, $localKey = null);
78 84
 
85
+    /**
86
+     * @param string $table
87
+     * @param string $foreignKey
88
+     * @param string $otherKey
89
+     */
79 90
     abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null);
80 91
 }
Please login to merge, or discard this patch.