Skip to content

Commit

Permalink
TASK: Adjust docs of PropertyOperation
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Jul 3, 2024
1 parent 8e4298f commit 5f8579c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -80,7 +78,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<int,mixed> $context */
$context = $flowQuery->getContext();
Expand Down

0 comments on commit 5f8579c

Please sign in to comment.