GabdaSilva07 / Ellis-BackEnd

0 stars 0 forks source link

refactor: use expression bodied accessors where possible #12

Closed deepsource-autofix[bot] closed 1 year ago

deepsource-autofix[bot] commented 1 year 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.