diff --git a/src/Illuminate/Foundation/Auth/Access/Authorizable.php b/src/Illuminate/Foundation/Auth/Access/Authorizable.php index d8cf50dbc53..d9a7d022cda 100644 --- a/src/Illuminate/Foundation/Auth/Access/Authorizable.php +++ b/src/Illuminate/Foundation/Auth/Access/Authorizable.php @@ -9,7 +9,7 @@ trait Authorizable /** * Determine if the entity has the given abilities. * - * @param iterable|string $abilities + * @param iterable|\BackedEnum|string $abilities * @param array|mixed $arguments * @return bool */ @@ -21,7 +21,7 @@ public function can($abilities, $arguments = []) /** * Determine if the entity has any of the given abilities. * - * @param iterable|string $abilities + * @param iterable|\BackedEnum|string $abilities * @param array|mixed $arguments * @return bool */ @@ -33,7 +33,7 @@ public function canAny($abilities, $arguments = []) /** * Determine if the entity does not have the given abilities. * - * @param iterable|string $abilities + * @param iterable|\BackedEnum|string $abilities * @param array|mixed $arguments * @return bool */ @@ -45,7 +45,7 @@ public function cant($abilities, $arguments = []) /** * Determine if the entity does not have the given abilities. * - * @param iterable|string $abilities + * @param iterable|\BackedEnum|string $abilities * @param array|mixed $arguments * @return bool */