SupportVol / BackEnd

This repository manages data storage, authentication, and business logic for efficient volunteer coordination.
https://supportvol-dot-support-vol.as.r.appspot.com/
Apache License 2.0
1 stars 0 forks source link

(JS-0105) Class methods should utilize `this` #60

Closed Programmer-RD-AI closed 5 months ago

Programmer-RD-AI commented 5 months ago

Description

If a class method does not use this, it can sometimes be made into a static function. If you do convert the method into a static function, instances of the class that call that particular method have to be converted to a static call as well (MyClass.callStaticMethod())

Occurrences

There are 12 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/SupportVol/BackEnd/issue/JS-0105/occurrences/