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 May 12, 2024
1 parent 3a35488 commit ef940a0
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 @@ -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<int,mixed> $context */
$context = $flowQuery->getContext();
Expand Down

0 comments on commit ef940a0

Please sign in to comment.