Skip to content

v.1.1

Latest

Choose a tag to compare

@Nikba-Creative-Studio Nikba-Creative-Studio released this 13 Oct 07:43
  1. Fixed the typo in the constructor's parameter $baseurl to match the class property $baseUrl.
  2. Changed the method name setLangue to setLanguage for clarity.
  3. Moved the repetitive endpoint paths to a constant array.
  4. Simplified the request method to reduce redundancy.
  5. Used array merge instead of looping through and pushing to the $options array.