-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.x] Refactor NavItem class #1599
[2.x] Refactor NavItem class #1599
Conversation
The provided PHP class
By addressing these suggestions, the class can be further improved in terms of readability, maintainability, and overall robustness. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## improved-navigation-internals #1599 +/- ##
===================================================================
- Coverage 99.95% 99.95% -0.01%
+ Complexity 1777 1775 -2
===================================================================
Files 183 183
Lines 4803 4801 -2
===================================================================
- Hits 4801 4799 -2
Misses 2 2 ☔ View full report in Codecov by Sentry. |
We don't need two methods that do almost the same thing. I'm going to merge them, keeping the name of the other one to match the other similar helpers.
d4bca01
to
6ddd33e
Compare
7fde2d6
to
efbe0b1
Compare
0e657ac
to
1edb2f2
Compare
5528108
to
5970a04
Compare
Provides a consistent state
cbdfcc9
to
f1d9ca7
Compare
cef8cab
to
5b43c7c
Compare
e430c30
to
edb8b50
Compare
28b27a0
to
418db00
Compare
Major/breaking changes: