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.
|
* Sync all files in the configured media path.
|
||||||
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
protected function syncAll()
|
protected function syncAll()
|
||||||
|
@ -97,6 +98,7 @@ class SyncMediaCommand extends Command
|
||||||
* - "MOVED_TO /var/www/media/new_dir"
|
* - "MOVED_TO /var/www/media/new_dir"
|
||||||
*
|
*
|
||||||
* @link http://man7.org/linux/man-pages/man1/inotifywait.1.html
|
* @link http://man7.org/linux/man-pages/man1/inotifywait.1.html
|
||||||
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function syngle($record)
|
public function syngle($record)
|
||||||
|
|
|
@ -26,8 +26,7 @@ class DataController extends Controller
|
||||||
YouTubeService $youTubeService,
|
YouTubeService $youTubeService,
|
||||||
iTunesService $iTunesService,
|
iTunesService $iTunesService,
|
||||||
MediaCacheService $mediaCacheService
|
MediaCacheService $mediaCacheService
|
||||||
)
|
) {
|
||||||
{
|
|
||||||
$this->lastfmService = $lastfmService;
|
$this->lastfmService = $lastfmService;
|
||||||
$this->youTubeService = $youTubeService;
|
$this->youTubeService = $youTubeService;
|
||||||
$this->iTunesService = $iTunesService;
|
$this->iTunesService = $iTunesService;
|
||||||
|
|
|
@ -22,8 +22,9 @@ class SettingController extends Controller
|
||||||
*
|
*
|
||||||
* @param SettingRequest $request
|
* @param SettingRequest $request
|
||||||
*
|
*
|
||||||
* @return JsonResponse
|
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
|
*
|
||||||
|
* @return JsonResponse
|
||||||
*/
|
*/
|
||||||
public function store(SettingRequest $request)
|
public function store(SettingRequest $request)
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,6 +17,7 @@ class TidyLibrary
|
||||||
/**
|
/**
|
||||||
* Fired every time a LibraryChanged event is triggered.
|
* Fired every time a LibraryChanged event is triggered.
|
||||||
* Tidies up our lib.
|
* Tidies up our lib.
|
||||||
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
|
|
|
@ -62,12 +62,10 @@ class iTunesService extends ApiClient implements ApiConsumerInterface
|
||||||
|
|
||||||
public function getKey()
|
public function getKey()
|
||||||
{
|
{
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSecret()
|
public function getSecret()
|
||||||
{
|
{
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEndpoint()
|
public function getEndpoint()
|
||||||
|
|
Loading…
Reference in a new issue