Skip to content

Commit 110dcb4

Browse files
committed
Fixed condition
I have no idea how come it was wrong here...
1 parent 333e790 commit 110dcb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function processOpen(File $phpcsFile, $stackPtr)
239239
continue;
240240
}
241241

242-
if ($implementsToken === true) {
242+
if ($checkingImplements === true) {
243243
$numberOfInterface += 1;
244244
}
245245

0 commit comments

Comments
 (0)