Fix parameter type

This commit is contained in:
Phan An 2018-08-30 10:26:18 +07:00
parent 06b7f7f5ca
commit b75d924e22

View file

@ -27,7 +27,7 @@ class UpdateLastfmNowPlaying
$this->lastfm->updateNowPlaying(
$event->song->artist->name,
$event->song->title,
$event->song->album->name === Album::UNKNOWN_NAME ? null : $event->song->album->name,
$event->song->album->name === Album::UNKNOWN_NAME ? '' : $event->song->album->name,
$event->song->length,
$sessionKey
);