Completed
Pull Request — master (#1112)
by
unknown
03:42
created
src/Traits/HasPermissions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
     /**
188 188
      * Determine if the model has the given permission.
189 189
      *
190
-     * @param string|int|\Spatie\Permission\Contracts\Permission $permission
190
+     * @param Permission $permission
191 191
      *
192 192
      * @return bool
193 193
      */
Please login to merge, or discard this patch.
src/Contracts/Role.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     /**
8 8
      * A role may be given various permissions.
9 9
      *
10
-     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany|\Illuminate\Database\Eloquent\Relations\MorphToMany;
10
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
11 11
      */
12 12
     public function permissions();
13 13
 
Please login to merge, or discard this patch.