|
8 | 8 | * @method static bool has(string|array $ability)
|
9 | 9 | * @method static \Illuminate\Auth\Access\Response allowIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null)
|
10 | 10 | * @method static \Illuminate\Auth\Access\Response denyIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null)
|
11 |
| - * @method static \Illuminate\Auth\Access\Gate define(\BackedEnum|string $ability, callable|array|string $callback) |
| 11 | + * @method static \Illuminate\Auth\Access\Gate define(\UnitEnum|string $ability, callable|array|string $callback) |
12 | 12 | * @method static \Illuminate\Auth\Access\Gate resource(string $name, string $class, array|null $abilities = null)
|
13 | 13 | * @method static \Illuminate\Auth\Access\Gate policy(string $class, string $policy)
|
14 | 14 | * @method static \Illuminate\Auth\Access\Gate before(callable $callback)
|
15 | 15 | * @method static \Illuminate\Auth\Access\Gate after(callable $callback)
|
16 |
| - * @method static bool allows(iterable|\BackedEnum|string $ability, array|mixed $arguments = []) |
17 |
| - * @method static bool denies(iterable|\BackedEnum|string $ability, array|mixed $arguments = []) |
18 |
| - * @method static bool check(iterable|\BackedEnum|string $abilities, array|mixed $arguments = []) |
19 |
| - * @method static bool any(iterable|\BackedEnum|string $abilities, array|mixed $arguments = []) |
20 |
| - * @method static bool none(iterable|\BackedEnum|string $abilities, array|mixed $arguments = []) |
21 |
| - * @method static \Illuminate\Auth\Access\Response authorize(\BackedEnum|string $ability, array|mixed $arguments = []) |
22 |
| - * @method static \Illuminate\Auth\Access\Response inspect(\BackedEnum|string $ability, array|mixed $arguments = []) |
| 16 | + * @method static bool allows(iterable|\UnitEnum|string $ability, array|mixed $arguments = []) |
| 17 | + * @method static bool denies(iterable|\UnitEnum|string $ability, array|mixed $arguments = []) |
| 18 | + * @method static bool check(iterable|\UnitEnum|string $abilities, array|mixed $arguments = []) |
| 19 | + * @method static bool any(iterable|\UnitEnum|string $abilities, array|mixed $arguments = []) |
| 20 | + * @method static bool none(iterable|\UnitEnum|string $abilities, array|mixed $arguments = []) |
| 21 | + * @method static \Illuminate\Auth\Access\Response authorize(\UnitEnum|string $ability, array|mixed $arguments = []) |
| 22 | + * @method static \Illuminate\Auth\Access\Response inspect(\UnitEnum|string $ability, array|mixed $arguments = []) |
23 | 23 | * @method static mixed raw(string $ability, array|mixed $arguments = [])
|
24 | 24 | * @method static mixed getPolicyFor(object|string $class)
|
25 | 25 | * @method static \Illuminate\Auth\Access\Gate guessPolicyNamesUsing(callable $callback)
|
|
0 commit comments