Commit bf351dd
committed
Generic/UselessOverridingMethod: remove redundant call to count()
This commit simply replaces a call to `count($token)` with
`$phpcsFile->numTokens`.1 parent 4aaa77e commit bf351dd
File tree
1 file changed
+1
-2
lines changed- src/Standards/Generic/Sniffs/CodeAnalysis
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
0 commit comments