Skip to content

ext/snmp: rename argument number variables#21723

Open
prateekbhujel wants to merge 1 commit intophp:masterfrom
prateekbhujel:prateekbhujel/snmp-meaningful-arg-names
Open

ext/snmp: rename argument number variables#21723
prateekbhujel wants to merge 1 commit intophp:masterfrom
prateekbhujel:prateekbhujel/snmp-meaningful-arg-names

Conversation

@prateekbhujel
Copy link
Copy Markdown
Contributor

This is a readability-only follow-up to #21319.

It renames the internal argument-number variables added for error reporting so they describe what they represent more clearly, and replaces the inline SNMP::setSecurity() comment with named locals at the call site.

No behavior changes are intended.

Testing:

  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant