diff --git a/src/QueryBuilder/PermissionsQuery/PermissionQueryBuilder.php b/src/QueryBuilder/PermissionsQuery/PermissionQueryBuilder.php index 652bc34..1fec5bd 100644 --- a/src/QueryBuilder/PermissionsQuery/PermissionQueryBuilder.php +++ b/src/QueryBuilder/PermissionsQuery/PermissionQueryBuilder.php @@ -14,9 +14,6 @@ final class PermissionQueryBuilder #[QueryBuilderRequiredField] protected string $On = ""; - - - #[QueryBuilderRequiredField] protected string $As = ""; @@ -26,6 +23,8 @@ final class PermissionQueryBuilder $this->On = $relativePath; return $this; } + + public function As(string $relativePath): PermissionQueryBuilder { self::ValidateDeegraphPath(target: $relativePath);