parent
9a13223d62
commit
0d985ef42a
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ abstract class AbstractClassnameChecker implements PhpCsSniff
|
|||
$tokens = $phpcsFile->getTokens();
|
||||
|
||||
$classnamePosition = $phpcsFile->findNext(T_STRING, $stackPtr);
|
||||
if ($this->findPrev()) {
|
||||
if ($this->shouldLookBefore()) {
|
||||
$classnamePosition = $phpcsFile->findPrevious(T_STRING, $stackPtr);
|
||||
}
|
||||
if ($classnamePosition === false) {
|
||||
|
|
Loading…
Reference in a new issue