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
Fix parameter type #74
Conversation
xepozz
commented
Oct 16, 2022
Q | A |
---|---|
Is bugfix? | ✔️ |
New feature? | ❌ |
Breaks BC? | ❌ |
Codecov ReportBase: 92.02% // Head: 92.07% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #74 +/- ##
============================================
+ Coverage 92.02% 92.07% +0.04%
- Complexity 150 151 +1
============================================
Files 4 4
Lines 326 328 +2
============================================
+ Hits 300 302 +2
Misses 26 26
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A test is needed.
@@ -388,8 +388,11 @@ private function exportJson(mixed $var, bool $format, int $depth, int $level): m | |||
} | |||
} | |||
|
|||
private function getPropertyName(string $property): string | |||
private function getPropertyName(string|int $property): string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there int property names?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Need changelog
-
Mutation tests is fail
Added missing changelog entry. As for mutation tests fail, it's irrelevant to this PR's changes. Now they pass on both new commit and after merge. |