Completed
Push — master ( 39d35d...81a156 )
by Chris
01:53
created
src/Traits/HasPermissions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param null|string|int|\Spatie\Permission\Contracts\Permission $permission
214 214
      *
215
-     * @return array
215
+     * @return string[]
216 216
      */
217 217
     protected function getCacheTags($permission = null)
218 218
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      *
244 244
      * @param string|int|\Spatie\Permission\Contracts\Permission $permission
245 245
      *
246
-     * @return mixed
246
+     * @return string
247 247
      */
248 248
     protected function getPermissionCacheString($permission)
249 249
     {
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
     /**
316 316
      * Determine if the model has the given permission.
317 317
      *
318
-     * @param string|int|\Spatie\Permission\Contracts\Permission $permission
318
+     * @param Permission $permission
319 319
      *
320 320
      * @return bool
321 321
      */
Please login to merge, or discard this patch.