Undefined type 'Spotify'.intelephense(1009)
calypsorrr opened this issue · 3 comments
calypsorrr commented
I have the same issue as the last guy. I did everything on the readme file and even asked chatGPT but i still cant use your library becaus it says that Spotify is an undefined type.
I also tried using this "use Aerni\Spotify\Spotify;" but it also didn't work.
Do you know whats wrong?
aerni commented
How are you importing the class? Both of these examples should work:
use Spotify;
use Aerni\Spotify\Facades\SpotifyFacade as Spotify;
calypsorrr commented
This works: use Aerni\Spotify\Facades\SpotifyFacade as Spotify;
thank you!
the "use Spotify" didnt work for me
aerni commented
Perfect.