Skip to content

Commit 53091c2

Browse files
taylorotwellgithub-actions[bot]
authored andcommitted
Update facade docblocks
1 parent c85b3e5 commit 53091c2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Illuminate/Support/Facades/Gate.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
* @method static bool has(string|array $ability)
99
* @method static \Illuminate\Auth\Access\Response allowIf(\Illuminate\Auth\Access\Response|\Closure|bool $condition, string|null $message = null, string|null $code = null)
1010
* @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)
1212
* @method static \Illuminate\Auth\Access\Gate resource(string $name, string $class, array|null $abilities = null)
1313
* @method static \Illuminate\Auth\Access\Gate policy(string $class, string $policy)
1414
* @method static \Illuminate\Auth\Access\Gate before(callable $callback)
1515
* @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 = [])
2323
* @method static mixed raw(string $ability, array|mixed $arguments = [])
2424
* @method static mixed getPolicyFor(object|string $class)
2525
* @method static \Illuminate\Auth\Access\Gate guessPolicyNamesUsing(callable $callback)

0 commit comments

Comments
 (0)