Skip to content

Commit 77761cc

Browse files
committed
fix(psalm): use resolved policy getter in sign file service
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 2e1ef77 commit 77761cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/SignFileService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ public function storeUserMetadata(array $metadata = []): self {
10341034
private function isCollectMetadataEnabled(): bool {
10351035
if ($this->policyService !== null) {
10361036
try {
1037-
return (bool)$this->policyService->resolve(CollectMetadataPolicy::KEY)->effectiveValue();
1037+
return (bool)$this->policyService->resolve(CollectMetadataPolicy::KEY)->getEffectiveValue();
10381038
} catch (\Throwable) {
10391039
// Fallback keeps legacy behavior during migration rollout.
10401040
}

0 commit comments

Comments
 (0)