Completed
Branch master (7a36f1)
by Mohamed
04:08
created
app/Model/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/Model/Traits/Project/CountTrait.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/Http/Middleware/Permission.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 Tinyissue\Form\UserSetting as Form;
15 15
 use Tinyissue\Http\Requests\FormRequest;
16 16
 use Tinyissue\Model\Project;
17
-use Tinyissue\Model\User;
18 17
 
19 18
 /**
20 19
  * UserController is the controller class for managing request related to logged in user account
Please login to merge, or discard this patch.