Completed
Pull Request — master (#1039)
by Matthew
01:59
created
src/Traits/HasPermissions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      *
211 211
      * @param string|int|\Spatie\Permission\Contracts\Permission $permission
212 212
      *
213
-     * @return mixed
213
+     * @return string
214 214
      */
215 215
     protected function getPermissionCacheString($permission)
216 216
     {
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
     /**
283 283
      * Determine if the model has the given permission.
284 284
      *
285
-     * @param string|int|\Spatie\Permission\Contracts\Permission $permission
285
+     * @param Permission $permission
286 286
      *
287 287
      * @return bool
288 288
      */
Please login to merge, or discard this patch.