Skip to content

Rename parseInterface() return property from 'port' to 'portNumber'#471

Open
unprolix wants to merge 1 commit intomainfrom
jjb-interface-address-naming
Open

Rename parseInterface() return property from 'port' to 'portNumber'#471
unprolix wants to merge 1 commit intomainfrom
jjb-interface-address-naming

Conversation

@unprolix
Copy link
Collaborator

Summary

  • Rename port property to portNumber in parseInterface() return object
  • Aligns with class's internal naming convention (#portNumber, portNumber getter)
  • Remove workaround in constructor that was converting the property name

Test plan

  • parseInterface() returns object with portNumber property (not port)
  • Constructor works without the workaround assignment
  • Existing tests pass (updated to expect portNumber)
  • Linter passes

Aligns the return object property name with the class's internal naming
convention. Removes the workaround in the constructor that was converting
the property name after parsing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant