mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Apply fixes from StyleCI (#779)
This commit is contained in:
parent
f3887e6276
commit
5cf19b09aa
6 changed files with 8 additions and 7 deletions
|
@ -65,6 +65,7 @@ class SyncMediaCommand extends Command
|
|||
|
||||
/**
|
||||
* Sync all files in the configured media path.
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
protected function syncAll()
|
||||
|
@ -97,6 +98,7 @@ class SyncMediaCommand extends Command
|
|||
* - "MOVED_TO /var/www/media/new_dir"
|
||||
*
|
||||
* @link http://man7.org/linux/man-pages/man1/inotifywait.1.html
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function syngle($record)
|
||||
|
|
|
@ -26,8 +26,7 @@ class DataController extends Controller
|
|||
YouTubeService $youTubeService,
|
||||
iTunesService $iTunesService,
|
||||
MediaCacheService $mediaCacheService
|
||||
)
|
||||
{
|
||||
) {
|
||||
$this->lastfmService = $lastfmService;
|
||||
$this->youTubeService = $youTubeService;
|
||||
$this->iTunesService = $iTunesService;
|
||||
|
|
|
@ -22,8 +22,9 @@ class SettingController extends Controller
|
|||
*
|
||||
* @param SettingRequest $request
|
||||
*
|
||||
* @return JsonResponse
|
||||
* @throws Exception
|
||||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function store(SettingRequest $request)
|
||||
{
|
||||
|
|
|
@ -17,6 +17,7 @@ class TidyLibrary
|
|||
/**
|
||||
* Fired every time a LibraryChanged event is triggered.
|
||||
* Tidies up our lib.
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function handle()
|
||||
|
|
|
@ -56,8 +56,8 @@ class MediaSyncService
|
|||
*
|
||||
* @param string|null $mediaPath
|
||||
* @param array $tags The tags to sync.
|
||||
* Only taken into account for existing records.
|
||||
* New records will have all tags synced in regardless.
|
||||
* Only taken into account for existing records.
|
||||
* New records will have all tags synced in regardless.
|
||||
* @param bool $force Whether to force syncing even unchanged files
|
||||
* @param SyncMediaCommand $syncCommand The SyncMedia command object, to log to console if executed by artisan.
|
||||
*
|
||||
|
|
|
@ -62,12 +62,10 @@ class iTunesService extends ApiClient implements ApiConsumerInterface
|
|||
|
||||
public function getKey()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getSecret()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getEndpoint()
|
||||
|
|
Loading…
Reference in a new issue