From 1d14f5511b50216f511213d85bf49bd0825ff59e Mon Sep 17 00:00:00 2001 From: Willy Reyno Date: Wed, 22 May 2024 19:45:02 +0200 Subject: [PATCH] Rename getIsPublic to isPublic --- src/AppleMusicAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppleMusicAPI.php b/src/AppleMusicAPI.php index 2548175..e7fa402 100644 --- a/src/AppleMusicAPI.php +++ b/src/AppleMusicAPI.php @@ -508,7 +508,7 @@ public function createLibraryPlaylist(LibraryPlaylistCreationRequest $playlist) $requestBody['attributes'] = [ 'name' => $playlist->getName(), 'description' => $playlist->getDescription(), - 'isPublic' => $playlist->getIsPublic(), + 'isPublic' => $playlist->isPublic(), ]; foreach ($playlist->getTracks() as $track) {