-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Typehints for getHeaderMargin() and setHeaderMargin() are inconsistent #598
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #598 +/- ##
=======================================
Coverage 69.33% 69.33%
=======================================
Files 128 128
Lines 27022 27022
=======================================
Hits 18735 18735
Misses 8287 8287
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
That's okay, but could you also add @var float
on the properties?
Sure! I wasn't sure of the project's policy - so I just changed the external interfaces. |
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.
Thank you for this PR
Now we need to be very patient until it can be merged ;)
This PR just updates a couple of inconsistent type-hints in the phpdoc.
The header/footer margins are both
float
, but the getters/setters have inconsistent PHPDOC.getFooterMargin()
has@return float
, butsetFooterMargin()
has@param int $fm
.getHeaderMargin()
has@return float
, butsetHeaderMargin()
has@param int $hm
.