Skip to content

Commit 794b203

Browse files
szepeviktorondrejmirtes
authored andcommitted
Fix typo in FunctionDefinitionCheck
1 parent 966a39a commit 794b203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/FunctionDefinitionCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function checkAnonymousFunction(
183183
) {
184184
$errors[] = RuleErrorBuilder::message($unionTypesMessage)
185185
->line($returnTypeNode->getStartLine())
186-
->identifier('reeturn.unionTypeNotSupported')
186+
->identifier('return.unionTypeNotSupported')
187187
->nonIgnorable()
188188
->build();
189189
}

0 commit comments

Comments
 (0)