Skip to content

Commit a925b44

Browse files
rodrigoprimojrfnl
andauthored
Fix another typo in a code comment per PR review suggestion
Co-authored-by: Juliette <[email protected]>
1 parent c88bf4f commit a925b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function process(File $phpcsFile, $stackPtr)
105105
return;
106106
}
107107

108-
// If there is nothing inside the parenthesis, it is not a Yoda.
108+
// If there is nothing inside the parenthesis, it is not a Yoda condition.
109109
$opener = $tokens[$previousIndex]['parenthesis_opener'];
110110
$prev = $phpcsFile->findPrevious(Tokens::$emptyTokens, ($previousIndex - 1), ($opener + 1), true);
111111
if ($prev === false) {

0 commit comments

Comments
 (0)