Closed alessandro811020 closed 1 year ago
hello @bredmor
I create this PR because of a functionality issue found. If you may check it it would be great.
Thanks :)
nice
Thank you for your contribution, I've merged it into the master branch and will tag a new release.
Thanks!
Hello,
Working with this library, we detect that removeLanguage functionality did not work, because unset() did not find $language as $this-languages[$language] as key value. Due to this, addLanguage creates an array with several languages and with array_unique allows have 'en.pt,es' as language when those values are used in buildApiData functionality-
Changes:
test script were run and the result was:
Thanks