Commit 579f081
Squiz/ClosingDeclarationComment: remove unreachable condition
This commit removes an if condition that cannot be true. The
`$closingBracket` variable can never be null as the sniff already bows
out before setting the variable when checking if
`isset($tokens[$stackPtr]['scope_closer']) === false`.1 parent 7443644 commit 579f081
File tree
1 file changed
+0
-5
lines changed- src/Standards/Squiz/Sniffs/Commenting
1 file changed
+0
-5
lines changedLines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 88 | | |
94 | 89 | | |
95 | 90 | | |
| |||
0 commit comments