parent
aa76ad796a
commit
05ce3d0aef
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ trait ClassnameCheckerTrait
|
||||||
$tokens = $phpcsFile->getTokens();
|
$tokens = $phpcsFile->getTokens();
|
||||||
|
|
||||||
$classnamePosition = $phpcsFile->findNext(T_STRING, $stackPtr);
|
$classnamePosition = $phpcsFile->findNext(T_STRING, $stackPtr);
|
||||||
if ($this->findPrev()) {
|
if ($this->shouldLookBefore()) {
|
||||||
$classnamePosition = $phpcsFile->findPrevious(T_STRING, $stackPtr);
|
$classnamePosition = $phpcsFile->findPrevious(T_STRING, $stackPtr);
|
||||||
}
|
}
|
||||||
if ($classnamePosition === false) {
|
if ($classnamePosition === false) {
|
||||||
|
|
Loading…
Reference in a new issue