From ef940a03203ae59205fafbd19ed8b9599d77d11e Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Sun, 12 May 2024 13:41:50 +0200 Subject: [PATCH] TASK: Adjust docs of `PropertyOperation` --- .../Classes/FlowQueryOperations/PropertyOperation.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Neos.ContentRepository.NodeAccess/Classes/FlowQueryOperations/PropertyOperation.php b/Neos.ContentRepository.NodeAccess/Classes/FlowQueryOperations/PropertyOperation.php index d786cd8fc7b..b4c0c32fcfd 100644 --- a/Neos.ContentRepository.NodeAccess/Classes/FlowQueryOperations/PropertyOperation.php +++ b/Neos.ContentRepository.NodeAccess/Classes/FlowQueryOperations/PropertyOperation.php @@ -23,9 +23,7 @@ use Neos\Neos\Utility\NodeTypeWithFallbackProvider; /** - * Used to access properties of a ContentRepository Node. If the property mame is - * prefixed with _, internal node properties like start time, end time, - * hidden are accessed. + * Used to access properties of a ContentRepository Node. */ class PropertyOperation extends AbstractOperation { @@ -82,7 +80,7 @@ public function canEvaluate($context): bool public function evaluate(FlowQuery $flowQuery, array $arguments): mixed { if (empty($arguments[0])) { - throw new FlowQueryException('property() does not support returning all attributes yet', 1332492263); + throw new FlowQueryException(static::$shortName . '() does not allow returning all properties.', 1332492263); } /** @var array $context */ $context = $flowQuery->getContext();