basvandorst / StravaPHP

Strava API REST client with OAuth authentication
MIT License
184 stars 67 forks source link

Changed private members in REST.php to protected, to make it possible to extend this class #64

Closed picasticks closed 4 years ago

picasticks commented 4 years ago

It's impossible to override the class when helper methods such as getResponse() are marked as "private" because they are called by so many public methods.

This changes the 4 private members that exist in the class to protected so that developers can extend the class.

Thanks!