mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
Apply fixes from StyleCI (#608)
This commit is contained in:
parent
7d80f1d143
commit
9e863abdc2
2 changed files with 3 additions and 2 deletions
|
@ -47,7 +47,8 @@ class EventServiceProvider extends ServiceProvider
|
|||
if ($album->hasCover) {
|
||||
try {
|
||||
unlink(app()->publicPath()."/public/img/covers/{$album->cover}");
|
||||
} catch (Exception $e) {}
|
||||
} catch (Exception $e) {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -127,7 +127,7 @@ class Media
|
|||
/**
|
||||
* Sync media using a watch record.
|
||||
*
|
||||
* @param WatchRecordInterface $record The watch record.
|
||||
* @param WatchRecordInterface $record The watch record.
|
||||
*/
|
||||
public function syncByWatchRecord(WatchRecordInterface $record)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue