Apply fixes from StyleCI (#779)

This commit is contained in:
Phan An 2018-08-19 17:26:52 +02:00 committed by GitHub
parent f3887e6276
commit 5cf19b09aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 7 deletions

View file

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

View file

@ -26,8 +26,7 @@ class DataController extends Controller
YouTubeService $youTubeService,
iTunesService $iTunesService,
MediaCacheService $mediaCacheService
)
{
) {
$this->lastfmService = $lastfmService;
$this->youTubeService = $youTubeService;
$this->iTunesService = $iTunesService;

View file

@ -22,8 +22,9 @@ class SettingController extends Controller
*
* @param SettingRequest $request
*
* @return JsonResponse
* @throws Exception
*
* @return JsonResponse
*/
public function store(SettingRequest $request)
{

View file

@ -17,6 +17,7 @@ class TidyLibrary
/**
* Fired every time a LibraryChanged event is triggered.
* Tidies up our lib.
*
* @throws Exception
*/
public function handle()

View file

@ -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.
*

View file

@ -62,12 +62,10 @@ class iTunesService extends ApiClient implements ApiConsumerInterface
public function getKey()
{
return null;
}
public function getSecret()
{
return null;
}
public function getEndpoint()