Apply fixes from StyleCI (#608)

This commit is contained in:
Phan An 2017-06-03 17:48:13 +01:00 committed by GitHub
parent 7d80f1d143
commit 9e863abdc2
2 changed files with 3 additions and 2 deletions

View file

@ -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) {
}
}
});
}

View file

@ -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)
{