Passed
Push — master ( 7a3741...d28810 )
by Rafal
02:02
created

SpotifyWebApi::getUserPlaylistTracks()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 3
1
<?php
2
3
4
namespace SpotifyApiConnect\Application\SpotifyWebApiPhp;
5
6
use SpotifyWebAPI\SpotifyWebAPI as BaseSpotifyWebAPI;
7
8
class SpotifyWebApi extends BaseSpotifyWebAPI implements SpotifyWebApiInterface
9
{
10
    public function addUserPlaylistTracks($userId, $playlistId, $tracks, $options = [])
11
    {
12
        return parent::addUserPlaylistTracks($userId, $playlistId, $tracks, $options);
13
    }
14
15
    public function deleteUserPlaylistTracks($userId, $playlistId, $tracks, $snapshotId = '')
16
    {
17
        return parent::deleteUserPlaylistTracks($userId, $playlistId, $tracks, $snapshotId);
18
    }
19
20
    public function getUserPlaylist($userId, $playlistId, $options = [])
21
    {
22
        return parent::getUserPlaylist($userId, $playlistId, $options);
23
    }
24
25
    public function getUserPlaylists($userId, $options = [])
26
    {
27
        return parent::getUserPlaylists($userId, $options);
28
    }
29
30
    public function getUserPlaylistTracks($userId, $playlistId, $options = [])
31
    {
32
        return parent::getUserPlaylistTracks($userId, $playlistId, $options);
33
    }
34
35
    public function search($query, $type, $options = [])
36
    {
37
        return parent::search($query, $type, $options);
38
    }
39
40
    public function setAccessToken($accessToken)
41
    {
42
        parent::setAccessToken($accessToken);
43
    }
44
45
}