Completed
Pull Request — master (#1328)
by
unknown
01:16
created
src/Traits/HasPermissions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @param string|array|\Spatie\Permission\Contracts\Permission|\Illuminate\Support\Collection $permissions
89
+     * @param string|array|\Spatie\Permission\Contracts\Permission|\Illuminate\Support\Collection $listOfPermissions
90 90
      *
91 91
      * @return array
92 92
      */
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     /**
247 247
      * Determine if the model has the given permission.
248 248
      *
249
-     * @param string|int|\Spatie\Permission\Contracts\Permission $permission
249
+     * @param Permission $permission
250 250
      *
251 251
      * @return bool
252 252
      * @throws PermissionDoesNotExist
Please login to merge, or discard this patch.
src/Traits/HasRoles.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,6 @@
 block discarded – undo
52 52
      * Scope the model query to certain roles only.
53 53
      *
54 54
      * @param \Illuminate\Database\Eloquent\Builder $query
55
-     * @param string|array|\Spatie\Permission\Contracts\Role|\Illuminate\Support\Collection $roles
56 55
      * @param string $guard
57 56
      *
58 57
      * @return \Illuminate\Database\Eloquent\Builder
Please login to merge, or discard this patch.