Skip to content

Commit c5e1807

Browse files
authored
Merge pull request #422 from PHPCSStandards/feature/test-othercontextsensitivekeywords-fix-codesample
Tests/OtherContextSensitiveKeywordsTest: fix unintentional parse error
2 parents 846fbf0 + 6f46b10 commit c5e1807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Core/Tokenizer/OtherContextSensitiveKeywordsTest.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function standAloneFalseTrueNullTypesAndMore(
4545
/* testFalseIsKeywordAsParamType */ false $paramA,
4646
/* testTrueIsKeywordAsParamType */ true $paramB,
4747
/* testNullIsKeywordAsParamType */ null $paramC,
48-
) /* testFalseIsKeywordAsReturnType */ false | /* testTrueIsKeywordAsReturnType */ true | /* testNullIsKeywordAsReturnType */ null {
48+
): /* testFalseIsKeywordAsReturnType */ false | /* testTrueIsKeywordAsReturnType */ true | /* testNullIsKeywordAsReturnType */ null {
4949
if ($a === /* testFalseIsKeywordInComparison */ false
5050
|| $a === /* testTrueIsKeywordInComparison */ true
5151
|| $a === /* testNullIsKeywordInComparison */ null

0 commit comments

Comments
 (0)