Completed
Push — develop-3.0 ( 4fe777...24fc5d )
by Mohamed
09:15
created
app/Http/Controllers/Administration/TagsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      * 
107 107
      * @param Tag $tag
108 108
      *
109
-     * @return mixed
109
+     * @return \Illuminate\Http\RedirectResponse
110 110
      */
111 111
     public function getDelete(Tag $tag)
112 112
     {
Please login to merge, or discard this patch.
app/Model/Tag.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param string $url
98 98
      *
99
-     * @return mixed
99
+     * @return string
100 100
      */
101 101
     public function to($url)
102 102
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Returns an array of core groups.
144 144
      *
145
-     * @return array
145
+     * @return string[]
146 146
      */
147 147
     public static function getCoreGroups()
148 148
     {
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/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/Extensions/Model/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/Http/Controllers/ProjectsController.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
         parent::__construct($auth);
38 38
     }
39 39
 
40
+    /**
41
+     * @param integer $status
42
+     */
40 43
     protected function getIndexViewDataForLoggedUser($status = Project::STATUS_OPEN)
41 44
     {
42 45
         $userRepository     = $this->getLoggedUserRepository();
@@ -55,6 +58,9 @@  discard block
 block discarded – undo
55 58
         ];
56 59
     }
57 60
 
61
+    /**
62
+     * @param integer $status
63
+     */
58 64
     protected function getIndexViewDataForPublicProjects($status = Project::STATUS_OPEN)
59 65
     {
60 66
         $projectRepository  = $this->app->make(ProjectRepository::class);
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/Repository/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.