Completed
Branch develop-3.0 (4fe777)
by Mohamed
11:06
created
app/Model/Project/Note/SendMessages.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Illuminate\Support\Collection;
15 15
 use Tinyissue\Model\Message\Queue;
16 16
 use Tinyissue\Model\Project;
17
-use Tinyissue\Model\Project\Issue;
18 17
 use Tinyissue\Services\SendMessagesAbstract;
19 18
 
20 19
 /**
Please login to merge, or discard this patch.
app/Model/ProjectRelations.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -176,7 +176,17 @@
 block discarded – undo
176 176
             ->orderBy('position');
177 177
     }
178 178
 
179
+    /**
180
+     * @param string $related
181
+     * @param string $foreignKey
182
+     */
179 183
     abstract public function hasMany($related, $foreignKey = null, $localKey = null);
180 184
 
185
+    /**
186
+     * @param string $related
187
+     * @param string $table
188
+     * @param string $foreignKey
189
+     * @param string $otherKey
190
+     */
181 191
     abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null);
182 192
 }
Please login to merge, or discard this patch.
app/Model/TagRelations.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -82,9 +82,23 @@
 block discarded – undo
82 82
         return $this->belongsToMany('Tinyissue\Model\Project', 'projects_kanban_tags', 'project_id', 'tag_id');
83 83
     }
84 84
 
85
+    /**
86
+     * @param string $related
87
+     * @param string $foreignKey
88
+     */
85 89
     abstract public function belongsTo($related, $foreignKey = null, $otherKey = null, $relation = null);
86 90
 
91
+    /**
92
+     * @param string $related
93
+     * @param string $foreignKey
94
+     */
87 95
     abstract public function hasMany($related, $foreignKey = null, $localKey = null);
88 96
 
97
+    /**
98
+     * @param string $related
99
+     * @param string $table
100
+     * @param string $foreignKey
101
+     * @param string $otherKey
102
+     */
89 103
     abstract public function belongsToMany($related, $table = null, $foreignKey = null, $otherKey = null, $relation = null);
90 104
 }
Please login to merge, or discard this patch.
app/Providers/ComposerServiceProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Illuminate\Bus\Dispatcher;
15 15
 use Illuminate\Support\ServiceProvider;
16
-use Illuminate\View\View;
17
-use Tinyissue\Form\ExportIssues;
18 16
 
19 17
 /**
20 18
  * ComposerServiceProvider is the view service provider binding data to specific views.
Please login to merge, or discard this patch.
app/Repository/Message/Queue/UpdaterRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param Model    $model
29 29
      * @param int|User $changeBy
30 30
      *
31
-     * @return void
31
+     * @return null|boolean
32 32
      */
33 33
     public function queue($name, Model $model, $changeBy)
34 34
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param Model    $model
64 64
      * @param int|User $changeBy
65 65
      *
66
-     * @return void
66
+     * @return boolean
67 67
      */
68 68
     public function queueDelete($name, Model $model, $changeBy)
69 69
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * @param array         $removed
85 85
      * @param UserInterface $changeBy
86 86
      *
87
-     * @return mixed
87
+     * @return boolean
88 88
      */
89 89
     public function queueIssueTagChanges(Issue $issue, array $added, array $removed, UserInterface $changeBy)
90 90
     {
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Attachment/UpdaterRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * @param Project       $project
30 30
      * @param UserInterface $user
31 31
      *
32
-     * @return Eloquent\Model
32
+     * @return boolean
33 33
      */
34 34
     public function upload(array $input, Project $project, UserInterface $user)
35 35
     {
Please login to merge, or discard this patch.
app/Repository/Project/Issue/Comment/UpdaterRepository.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param string        $body
74 74
      * @param UserInterface $user
75 75
      *
76
-     * @return Eloquent\Model
76
+     * @return boolean
77 77
      */
78 78
     public function updateBody($body, UserInterface $user)
79 79
     {
@@ -97,9 +97,8 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Delete a comment and its attachments.
99 99
      *
100
-     * @param UserInterface $user
101 100
      *
102
-     * @return Eloquent\Model
101
+     * @return boolean|null
103 102
      *
104 103
      * @throws \Exception
105 104
      */
Please login to merge, or discard this patch.
app/Repository/Project/Issue/UpdaterRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @param int $userId
30 30
      *
31
-     * @return Eloquent\Model
31
+     * @return boolean
32 32
      */
33 33
     public function changeUpdatedBy($userId)
34 34
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @param array $input
73 73
      *
74
-     * @return Eloquent\Model
74
+     * @return boolean
75 75
      */
76 76
     public function update(array $input)
77 77
     {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      * @param int           $status
240 240
      * @param UserInterface $user
241 241
      *
242
-     * @return Eloquent\Model
242
+     * @return boolean
243 243
      */
244 244
     public function changeStatus($status, UserInterface $user)
245 245
     {
Please login to merge, or discard this patch.
app/Repository/Project/Note/UpdaterRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @param string     $body
63 63
      * @param Model\User $user
64 64
      *
65
-     * @return Eloquent\Model
65
+     * @return boolean
66 66
      */
67 67
     public function updateBody($body, Model\User $user)
68 68
     {
Please login to merge, or discard this patch.