Completed
Push — master ( 67516c...274239 )
by Arjay
06:05
created
src/Models/Permission.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\Acl\Models;
4 4
 
5
+use Illuminate\Database\Eloquent\Model;
5 6
 use Illuminate\Support\Collection;
6 7
 use Yajra\Acl\Traits\HasRole;
7
-use Illuminate\Database\Eloquent\Model;
8 8
 
9 9
 /**
10 10
  * @property string resource
Please login to merge, or discard this patch.
src/Traits/HasPermission.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * Revokes the given permission from the role.
40 40
      *
41 41
      * @param  int|null $permissionId
42
-     * @return bool
42
+     * @return integer
43 43
      */
44 44
     public function revokePermission($permissionId = null)
45 45
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Revokes all permissions from the role.
62 62
      *
63
-     * @return bool
63
+     * @return integer
64 64
      */
65 65
     public function revokeAllPermissions()
66 66
     {
Please login to merge, or discard this patch.