@@ -194,7 +194,7 @@ protected function authorizeOnDemand($condition, $message, $code, $allowWhenResp
194194 /**
195195 * Define a new ability.
196196 *
197- * @param \BackedEnum |string $ability
197+ * @param \UnitEnum |string $ability
198198 * @param callable|array|string $callback
199199 * @return $this
200200 *
@@ -325,7 +325,7 @@ public function after(callable $callback)
325325 /**
326326 * Determine if all of the given abilities should be granted for the current user.
327327 *
328- * @param iterable|\BackedEnum |string $ability
328+ * @param iterable|\UnitEnum |string $ability
329329 * @param array|mixed $arguments
330330 * @return bool
331331 */
@@ -337,7 +337,7 @@ public function allows($ability, $arguments = [])
337337 /**
338338 * Determine if any of the given abilities should be denied for the current user.
339339 *
340- * @param iterable|\BackedEnum |string $ability
340+ * @param iterable|\UnitEnum |string $ability
341341 * @param array|mixed $arguments
342342 * @return bool
343343 */
@@ -349,7 +349,7 @@ public function denies($ability, $arguments = [])
349349 /**
350350 * Determine if all of the given abilities should be granted for the current user.
351351 *
352- * @param iterable|\BackedEnum |string $abilities
352+ * @param iterable|\UnitEnum |string $abilities
353353 * @param array|mixed $arguments
354354 * @return bool
355355 */
@@ -363,7 +363,7 @@ public function check($abilities, $arguments = [])
363363 /**
364364 * Determine if any one of the given abilities should be granted for the current user.
365365 *
366- * @param iterable|\BackedEnum |string $abilities
366+ * @param iterable|\UnitEnum |string $abilities
367367 * @param array|mixed $arguments
368368 * @return bool
369369 */
@@ -375,7 +375,7 @@ public function any($abilities, $arguments = [])
375375 /**
376376 * Determine if all of the given abilities should be denied for the current user.
377377 *
378- * @param iterable|\BackedEnum |string $abilities
378+ * @param iterable|\UnitEnum |string $abilities
379379 * @param array|mixed $arguments
380380 * @return bool
381381 */
@@ -387,7 +387,7 @@ public function none($abilities, $arguments = [])
387387 /**
388388 * Determine if the given ability should be granted for the current user.
389389 *
390- * @param \BackedEnum |string $ability
390+ * @param \UnitEnum |string $ability
391391 * @param array|mixed $arguments
392392 * @return \Illuminate\Auth\Access\Response
393393 *
@@ -401,7 +401,7 @@ public function authorize($ability, $arguments = [])
401401 /**
402402 * Inspect the user for the given ability.
403403 *
404- * @param \BackedEnum |string $ability
404+ * @param \UnitEnum |string $ability
405405 * @param array|mixed $arguments
406406 * @return \Illuminate\Auth\Access\Response
407407 */
0 commit comments