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

View file

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

View file

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

View file

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

View file

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