File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Illuminate/Foundation/Auth/Access Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ trait Authorizable
99 /**
1010 * Determine if the entity has the given abilities.
1111 *
12- * @param iterable|string $abilities
12+ * @param iterable|\BackedEnum| string $abilities
1313 * @param array|mixed $arguments
1414 * @return bool
1515 */
@@ -21,7 +21,7 @@ public function can($abilities, $arguments = [])
2121 /**
2222 * Determine if the entity has any of the given abilities.
2323 *
24- * @param iterable|string $abilities
24+ * @param iterable|\BackedEnum| string $abilities
2525 * @param array|mixed $arguments
2626 * @return bool
2727 */
@@ -33,7 +33,7 @@ public function canAny($abilities, $arguments = [])
3333 /**
3434 * Determine if the entity does not have the given abilities.
3535 *
36- * @param iterable|string $abilities
36+ * @param iterable|\BackedEnum| string $abilities
3737 * @param array|mixed $arguments
3838 * @return bool
3939 */
@@ -45,7 +45,7 @@ public function cant($abilities, $arguments = [])
4545 /**
4646 * Determine if the entity does not have the given abilities.
4747 *
48- * @param iterable|string $abilities
48+ * @param iterable|\BackedEnum| string $abilities
4949 * @param array|mixed $arguments
5050 * @return bool
5151 */
You can’t perform that action at this time.
0 commit comments