GabdaSilva07 / Ellis-BackEnd

0 stars 0 forks source link

refactor: use expression bodied accessors where possible #12

Closed deepsource-autofix[bot] closed 10 months ago

deepsource-autofix[bot] commented 10 months ago

Getters and setters with a single statement in their bodies can be simplified using the arrow operator (=>). This eliminates the need for braces, thereby reducing the indentation and lines used.