Skip to content

Commit

Permalink
Fix emptyStringToNull error
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni committed May 7, 2020
1 parent d5ff68a commit 15a085d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions config/spotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
*/

'default_config' => [
'country' => env('SPOTIFY_DEFAULT_COUNTRY'),
'locale' => env('SPOTIFY_DEFAULT_LOCALE'),
'market' => env('SPOTIFY_DEFAULT_MARKET'),
'country' => env('SPOTIFY_DEFAULT_COUNTRY', ''),
'locale' => env('SPOTIFY_DEFAULT_LOCALE', ''),
'market' => env('SPOTIFY_DEFAULT_MARKET', ''),
],

];
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ return [
*/

'default_config' => [
'country' => env('SPOTIFY_DEFAULT_COUNTRY'),
'locale' => env('SPOTIFY_DEFAULT_LOCALE'),
'market' => env('SPOTIFY_DEFAULT_MARKET'),
'country' => env('SPOTIFY_DEFAULT_COUNTRY', ''),
'locale' => env('SPOTIFY_DEFAULT_LOCALE', ''),
'market' => env('SPOTIFY_DEFAULT_MARKET', ''),
],

];
Expand Down
6 changes: 3 additions & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ protected function getEnvironmentSetUp($app): void
'client_secret' => env('SPOTIFY_CLIENT_SECRET'),
],
'default_config' => [
'country' => env('SPOTIFY_DEFAULT_COUNTRY'),
'locale' => env('SPOTIFY_DEFAULT_LOCALE'),
'market' => env('SPOTIFY_DEFAULT_MARKET'),
'country' => env('SPOTIFY_DEFAULT_COUNTRY', ''),
'locale' => env('SPOTIFY_DEFAULT_LOCALE', ''),
'market' => env('SPOTIFY_DEFAULT_MARKET', ''),
],
]);
}
Expand Down

0 comments on commit 15a085d

Please sign in to comment.