Completed
Pull Request — 5.6 (#24)
by
unknown
17:40
created
src/Traits/HasRoleAndPermission.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Check if the user has a role or roles.
52 52
      *
53
-     * @param int|string|array $role
53
+     * @param string $role
54 54
      * @param bool $all
55 55
      * @return bool
56 56
      */
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     /**
219 219
      * Check if the user has a permission or permissions.
220 220
      *
221
-     * @param int|string|array $permission
221
+     * @param string $permission
222 222
      * @param bool $all
223 223
      * @return bool
224 224
      */
Please login to merge, or discard this patch.
src/Middleware/VerifyPermission.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
      *
30 30
      * @param Request $request
31 31
      * @param \Closure $next
32
-     * @param int|string $permission
33 32
      * @return mixed
34 33
      * @throws \Ultraware\Roles\Exceptions\PermissionDeniedException
35 34
      */
Please login to merge, or discard this patch.
src/Middleware/VerifyRole.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
      *
30 30
      * @param Request $request
31 31
      * @param \Closure $next
32
-     * @param int|string $role
33 32
      * @return mixed
34 33
      * @throws RoleDeniedException
35 34
      */
Please login to merge, or discard this patch.