Completed
Branch develop-3.0 (904b40)
by Mohamed
02:43
created
app/Model/TagRelations.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\Relations;
15
-
16 14
 /**
17 15
  * RelationTrait is trait class containing the relationship methods for the message queue model.
18 16
  *
Please login to merge, or discard this 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.
app/Repository/RepositoryUpdater.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param array $data
65 65
      *
66
-     * @return mixed
66
+     * @return Model
67 67
      */
68 68
     public function create(array $data)
69 69
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param array $attributes
79 79
      *
80
-     * @return mixed
80
+     * @return boolean
81 81
      */
82 82
     public function update(array $attributes = [])
83 83
     {
Please login to merge, or discard this patch.
app/Repository/Project/Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      *
81 81
      * @param array $input
82 82
      *
83
-     * @return $this
83
+     * @return Project
84 84
      */
85 85
     public function create(array $input = [])
86 86
     {
Please login to merge, or discard this patch.