mirror of
https://github.com/jwilsson/spotify-web-api-php.git
synced 2026-04-26 23:45:49 +03:00
[PR #89] [MERGED] Add typecast to array for implode() #256
Labels
No labels
bug
docs
enhancement
enhancement
enhancement
feedback wanted
good first issue
help wanted
help wanted
help wanted
invalid
pull-request
question
question
upstream
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-web-api-php#256
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jwilsson/spotify-web-api-php/pull/89
Author: @PouleR
Created: 6/12/2017
Status: ✅ Merged
Merged: 6/12/2017
Merged by: @jwilsson
Base:
master← Head:master📝 Commits (10+)
8833aafConvert Spotify URIs to Spotify IDs for addMyTracks94ccd5aMerge pull request #1 from jwilsson/masterf890877Add type parameter to uriToId method and implement for albumsab913a4Merge branch 'master' of https://github.com/jwilsson/spotify-web-api-php into jwilsson-master0684247Merge branch 'jwilsson-master'9b7fdf1Convert track uri to track id for getTrack() and getTracks() methodsa4d11ceConvert track uri to track id for getAudioFeaturesdb8a5f6Merge pull request #3 from jwilsson/masterbb58686Add uriToId() to all other applicable methods2fae6a4Merge branch 'master' of https://github.com/jwilsson/spotify-web-api-php into jwilsson-master-head📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
src/SpotifyWebAPI.php(+4 -4)📄 Description
I made a mistake in my previous PR. The method uriToId() can return a string when an array has only one element, therefore the implode function would take place on a string. Now the variable is typecast to an array (as in other methods)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.