Commit 8d87daf
Fix PHPStan error: remove redundant $index check in renameIndex
The null check for $index at line 1125 guarantees it's non-null,
making the $index && condition at line 1134 always true.
PHPStan level 7 flagged this as "Left side of && is always true".
Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com>1 parent 1310180 commit 8d87daf
3 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1131 | 1131 | | |
1132 | 1132 | | |
1133 | 1133 | | |
1134 | | - | |
| 1134 | + | |
1135 | 1135 | | |
1136 | 1136 | | |
1137 | 1137 | | |
| |||
0 commit comments