Commit 70f8f2c
Generic/OpeningFunctionBraceKernighanRichie: remove repeated call to findPrevious()
This commit removes a repeated call to findPrevious() to get the pointer
to the end of the function declaration. The same `$prev` variable that
was defined a few lines above can be reused and there is no need to
define it again calling `findPrevious()` with exactly the same
parameters.1 parent a13cdfd commit 70f8f2c
File tree
1 file changed
+0
-1
lines changed- src/Standards/Generic/Sniffs/Functions
1 file changed
+0
-1
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
0 commit comments