Completed
Push — develop-3.0 ( 4fe777...24fc5d )
by Mohamed
09:15
created
app/Form/Issue.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Illuminate\Support\Collection;
15 15
 use Tinyissue\Extensions\Model\FetchTagsTrait;
16
-use Tinyissue\Model;
17 16
 use Tinyissue\Model\Project;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
app/Http/Controllers/Project/IssueController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Tinyissue\Form\Issue as IssueForm;
18 18
 use Tinyissue\Http\Controllers\Controller;
19 19
 use Tinyissue\Http\Requests\FormRequest;
20
-use Tinyissue\Model\Permission;
21 20
 use Tinyissue\Model\Project\Issue;
22 21
 use Tinyissue\Model\Project\Issue\Comment;
23 22
 use Tinyissue\Model\Project;
Please login to merge, or discard this patch.
app/Http/Controllers/ProjectController.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@
 block discarded – undo
54 54
      * Notes ........
55 55
      *
56 56
      *
57
+     * @param string $active
57 58
      */
58 59
     protected function indexView($data, $active, Project $project)
59 60
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Tinyissue\Model\Project;
13 13
 
14
-use Illuminate\Database\Eloquent\Collection;
15 14
 use Illuminate\Database\Eloquent\Model as BaseModel;
16 15
 use Tinyissue\Model;
17 16
 use Tinyissue\Model\Traits\CountAttributeTrait;
Please login to merge, or discard this patch.
app/Model/User.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Tinyissue\Model;
13 13
 
14
-use Auth as Auth;
15 14
 use Illuminate\Auth\Authenticatable;
16 15
 use Illuminate\Auth\Passwords\CanResetPassword;
17 16
 use Illuminate\Database\Eloquent;
Please login to merge, or discard this patch.
app/Policies/AttachmentPolicy.php 1 patch
Doc Comments   +8 added lines, -10 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * Determine whether the user can view the attachment.
25 25
      *
26
-     * @param  Tinyissue\User  $user
27
-     * @param  Tinyissue\Attachment  $attachment
26
+     * @param  User  $user
27
+     * @param  Attachment  $attachment
28 28
      * @return mixed
29 29
      */
30 30
     public function view(User $user, Attachment $attachment)
@@ -36,8 +36,8 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Determine whether the user can create attachments.
38 38
      *
39
-     * @param  Tinyissue\User  $user
40
-     * @return mixed
39
+     * @param  User  $user
40
+     * @return boolean
41 41
      */
42 42
     public function create(User $user, Project $project)
43 43
     {
@@ -48,9 +48,8 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Determine whether the user can update the attachment.
50 50
      *
51
-     * @param  Tinyissue\User  $user
52
-     * @param  Tinyissue\Attachment  $attachment
53
-     * @return mixed
51
+     * @param  User  $user
52
+     * @return boolean
54 53
      */
55 54
     public function update(User $user, Project $project)
56 55
     {
@@ -61,9 +60,8 @@  discard block
 block discarded – undo
61 60
     /**
62 61
      * Determine whether the user can delete the attachment.
63 62
      *
64
-     * @param  Tinyissue\User  $user
65
-     * @param  Tinyissue\Attachment  $attachment
66
-     * @return mixed
63
+     * @param  User  $user
64
+     * @return boolean
67 65
      */
68 66
     public function delete(User $user, Project $project)
69 67
     {
Please login to merge, or discard this patch.
app/Policies/CommentPolicy.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @param  User $user
60 60
      *
61
-     * @return mixed
61
+     * @return boolean
62 62
      */
63 63
     public function create(User $user, $comment, Project $project)
64 64
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * @param  User    $user
72 72
      * @param  Comment $comment
73 73
      *
74
-     * @return mixed
74
+     * @return boolean
75 75
      */
76 76
     public function update(User $user, Comment $comment)
77 77
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @param  User    $user
86 86
      * @param  Comment $comment
87 87
      *
88
-     * @return mixed
88
+     * @return boolean
89 89
      */
90 90
     public function delete(User $user, Comment $comment)
91 91
     {
Please login to merge, or discard this patch.
app/Policies/IssuePolicy.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      * @param  User  $user
46 46
      * @param  Issue $issue
47 47
      *
48
-     * @return mixed
48
+     * @return boolean
49 49
      */
50 50
     public function view(User $user, Issue $issue, Project $project)
51 51
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @param  User $user
73 73
      *
74
-     * @return mixed
74
+     * @return boolean
75 75
      */
76 76
     public function create(User $user, Project $project)
77 77
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      * @param  User  $user
89 89
      * @param  Issue $issue
90 90
      *
91
-     * @return mixed
91
+     * @return boolean
92 92
      */
93 93
     public function update(User $user, Issue $issue, Project $project = null)
94 94
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      * @param  User  $user
116 116
      * @param  Issue $issue
117 117
      *
118
-     * @return mixed
118
+     * @return boolean
119 119
      */
120 120
     public function delete(User $user, Issue $issue)
121 121
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Tinyissue\Policies;
13 13
 
14 14
 use Tinyissue\Contracts\Model\UserInterface;
15
-use Tinyissue\Extensions\Policies\AdminAccess;
16 15
 use Tinyissue\Extensions\Policies\ProjectAccess;
17 16
 use Tinyissue\Model\Project;
18 17
 use Tinyissue\Model\User;
Please login to merge, or discard this patch.
app/Policies/NotePolicy.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * Determine whether the user can create notes.
70 70
      *
71 71
      * @param  User  $user
72
-     * @return mixed
72
+     * @return boolean
73 73
      */
74 74
     public function create(User $user)
75 75
     {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * Determine whether the user can update the note.
82 82
      *
83 83
      * @param  User  $user
84
-     * @return mixed
84
+     * @return boolean
85 85
      */
86 86
     public function update(User $user)
87 87
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * Determine whether the user can delete the note.
94 94
      *
95 95
      * @param  User  $user
96
-     * @return mixed
96
+     * @return boolean
97 97
      */
98 98
     public function delete(User $user)
99 99
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Tinyissue\Policies;
13 13
 
14 14
 use Tinyissue\Contracts\Model\UserInterface;
15
-use Tinyissue\Extensions\Policies\AdminAccess;
16 15
 use Tinyissue\Extensions\Policies\ProjectAccess;
17 16
 use Tinyissue\Model\Project;
18 17
 use Tinyissue\Model\User;
Please login to merge, or discard this patch.
app/Policies/ProjectPolicy.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @param  User  $user
45 45
      * @param  Project  $project
46
-     * @return mixed
46
+     * @return boolean
47 47
      */
48 48
     public function view(User $user, Project $project)
49 49
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * Determine whether the user can create projects.
60 60
      *
61 61
      * @param  User  $user
62
-     * @return mixed
62
+     * @return boolean
63 63
      */
64 64
     public function create(User $user)
65 65
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * Determine whether the user can update the project.
72 72
      *
73 73
      * @param  User  $user
74
-     * @return mixed
74
+     * @return boolean
75 75
      */
76 76
     public function update(User $user)
77 77
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * Determine whether the user can delete the project.
84 84
      *
85 85
      * @param  User  $user
86
-     * @return mixed
86
+     * @return boolean
87 87
      */
88 88
     public function delete(User $user)
89 89
     {
Please login to merge, or discard this patch.