Browse Source

`As` is no longer required

dev
Cerys 4 weeks ago
parent
commit
4075b6a189
  1. 5
      src/QueryBuilder/PermissionsQuery/PermissionQueryBuilder.php

5
src/QueryBuilder/PermissionsQuery/PermissionQueryBuilder.php

@ -14,9 +14,6 @@ final class PermissionQueryBuilder
#[QueryBuilderRequiredField] #[QueryBuilderRequiredField]
protected string $On = ""; protected string $On = "";
#[QueryBuilderRequiredField]
protected string $As = ""; protected string $As = "";
@ -26,6 +23,8 @@ final class PermissionQueryBuilder
$this->On = $relativePath; $this->On = $relativePath;
return $this; return $this;
} }
public function As(string $relativePath): PermissionQueryBuilder public function As(string $relativePath): PermissionQueryBuilder
{ {
self::ValidateDeegraphPath(target: $relativePath); self::ValidateDeegraphPath(target: $relativePath);

Loading…
Cancel
Save