Skip to content
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

Change relevant pet fields to getters #286

Merged
merged 3 commits into from
Oct 21, 2022

Conversation

KComrade53
Copy link
Contributor

For pet type class methods that just return private values, replace the methods with getter methods so that the fields can be accessed on the pets without parentheses.

E.g. pet.name instead of pet.name()

This is a followup to #285

KComrade53 and others added 3 commits October 20, 2022 20:49
For pet type class methods that just return private values, replace the methods
with getter methods so that the fields can be accessed on the pets without
parentheses.

E.g. `pet.name` instead of `pet.name()`
@codecov-commenter
Copy link

Codecov Report

Merging #286 (de82255) into master (a23e14e) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master    #286   +/-   ##
======================================
  Coverage    8.35%   8.35%           
======================================
  Files           3       3           
  Lines         634     634           
  Branches       90      90           
======================================
  Hits           53      53           
  Misses        581     581           
Impacted Files Coverage Δ
src/panel/main.ts 3.27% <0.00%> (ø)
src/panel/pets.ts 7.17% <0.00%> (ø)
src/panel/states.ts 16.56% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tonybaloney tonybaloney merged commit e2c527f into tonybaloney:master Oct 21, 2022
@tonybaloney
Copy link
Owner

Thanks!

@KComrade53 KComrade53 deleted the kc/pet-type-getters branch October 24, 2022 21:40
tonybaloney added a commit that referenced this pull request Feb 26, 2023
Change relevant pet fields to getters
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.

3 participants