Skip to content

Commit 68b6599

Browse files
committed
Simpler error identifier
1 parent ab59270 commit 68b6599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Operators/PipeOperatorRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function processNode(Node $node, Scope $scope): array
5454
RuleErrorBuilder::message(sprintf(
5555
'Parameter #1%s of callable on the right side of pipe operator is passed by reference.',
5656
$parameter->getName() !== '' ? ' $' . $parameter->getName() : '',
57-
))->identifier('pipe.parameterPassedByReference')
57+
))->identifier('pipe.byRef')
5858
->build(),
5959
];
6060
}

0 commit comments

Comments
 (0)