Skip to content

Commit 3520acf

Browse files
committed
Universal/AlphabeticExtendsImplements: fix error message
Oops... the "expected" versus "found" order was displayed incorrectly in the error message. Fixed now.
1 parent 882b8c9 commit 3520acf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Universal/Sniffs/OOStructures/AlphabeticExtendsImplementsSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ public function process(File $phpcsFile, $stackPtr)
182182
$data = [
183183
$tokens[$stackPtr]['content'],
184184
$tokens[$keywordPtr]['content'],
185-
\implode(', ', $names),
186185
\implode(', ', $sorted),
186+
\implode(', ', $names),
187187
];
188188

189189
if ($fixable === false) {

0 commit comments

Comments
 (0)