Completed
Push — master ( d0a6e2...c1e6c3 )
by Stephen
07:22
created
src/z1haze/Acl/Models/Permission.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * PERMISSION
29 29
      * A permission belongs to many users
30 30
      *
31
-     * @return mixed
31
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
32 32
      */
33 33
     public function users()
34 34
     {
Please login to merge, or discard this patch.
src/z1haze/Acl/Traits/UserAndPermission.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace z1haze\Acl\Traits;
4 4
 
5
-use z1haze\Acl\Exceptions\LevelNotFoundException;
6 5
 use Illuminate\Support\Facades\Cache;
6
+use z1haze\Acl\Exceptions\LevelNotFoundException;
7 7
 use z1haze\Acl\Models\Level;
8 8
 
9 9
 trait UserAndPermission
Please login to merge, or discard this patch.
src/z1haze/Acl/Traits/UserAndLevel.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@
 block discarded – undo
354 354
      * Modify a given set of permissions, given the action to be taken
355 355
      *
356 356
      * @param $permissions
357
-     * @param $action
357
+     * @param string $action
358 358
      */
359 359
     protected function modifyPermissions($permissions, $action)
360 360
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace z1haze\Acl\Traits;
4 4
 
5 5
 use Illuminate\Support\Collection;
6
+use Illuminate\Support\Facades\Cache;
6 7
 use ReflectionClass;
7 8
 use z1haze\Acl\Exceptions\PermissionNotFoundException;
8
-use Illuminate\Support\Facades\Cache;
9 9
 use z1haze\Acl\Models\Level;
10 10
 use z1haze\Acl\Models\Permission;
11 11
 
Please login to merge, or discard this patch.