From 4075b6a1896dc860fcfb67b4c883cfa7e6f664c6 Mon Sep 17 00:00:00 2001 From: Cerys Date: Thu, 28 Nov 2024 15:57:45 +0000 Subject: [PATCH] `As` is no longer required --- src/QueryBuilder/PermissionsQuery/PermissionQueryBuilder.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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);