Skip to content

Commit d3a1767

Browse files
further simplify
1 parent 98d4efa commit d3a1767

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Permissions/Permissions.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ protected static function acceptedArguments(array $arguments): array
1818
return (new Constructor(static::class))->getAcceptedArguments($arguments);
1919
}
2020

21-
public static function forAdmin(): static
22-
{
23-
return (new static())->wildcard(true);
24-
}
25-
26-
public static function forNobody(): static
27-
{
28-
return (new static())->wildcard(false);
29-
}
30-
3121
/**
3222
* Creates a new instance from array, boolean or null. This is mainly
3323
* useful to translate blueprint options to permission settings.

0 commit comments

Comments
 (0)