Skip to content

Commit 6ea7df2

Browse files
aernigithub-actions[bot]
authored andcommitted
Fix styling
1 parent ac96d56 commit 6ea7df2

File tree

6 files changed

+6
-12
lines changed

6 files changed

+6
-12
lines changed

src/Clients/SpotifyClient.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@
44

55
use GuzzleHttp\Client;
66

7-
class SpotifyClient extends Client
8-
{
9-
}
7+
class SpotifyClient extends Client {}

src/Exceptions/SpotifyApiException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
namespace Aerni\Spotify\Exceptions;
44

5-
class SpotifyApiException extends SpotifyException
6-
{
7-
}
5+
class SpotifyApiException extends SpotifyException {}

src/Exceptions/SpotifyAuthException.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
namespace Aerni\Spotify\Exceptions;
44

5-
class SpotifyAuthException extends SpotifyException
6-
{
7-
}
5+
class SpotifyAuthException extends SpotifyException {}

src/Providers/SpotifyClientServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class SpotifyClientServiceProvider extends ServiceProvider
1010
public function register()
1111
{
1212
$this->app->bind(SpotifyClient::class, function () {
13-
return new SpotifyClient();
13+
return new SpotifyClient;
1414
});
1515
}
1616
}

src/SpotifyRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SpotifyRequest
1515
public function __construct(string $accessToken)
1616
{
1717
$this->accessToken = $accessToken;
18-
$this->apiUrl = config('spotify.api_url','https://api.spotify.com/v1');
18+
$this->apiUrl = config('spotify.api_url', 'https://api.spotify.com/v1');
1919
}
2020

2121
/**

tests/Unit/BrowseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function test_can_get_recommendations(): void
5050
{
5151
$artistIds = ['0ADKN6ZiuyyScOTXloddx9', '3hyTRrdgrNuAExA3tNS8CA', '2FNOMU2OOusxW671wZKbKt'];
5252

53-
$seed = (new SpotifySeed())
53+
$seed = (new SpotifySeed)
5454
->addArtists($artistIds);
5555

5656
$recommendations = Spotify::recommendations($seed)->get();

0 commit comments

Comments
 (0)