mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Apply fixes from StyleCI (#793)
This commit is contained in:
parent
1558062428
commit
fe34592e66
6 changed files with 14 additions and 14 deletions
|
@ -5,6 +5,8 @@ namespace App\Services;
|
|||
interface ApiConsumerInterface
|
||||
{
|
||||
public function getEndpoint(): string;
|
||||
|
||||
public function getKey(): ?string;
|
||||
|
||||
public function getSecret(): ?string;
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@ use App\Repositories\SongRepository;
|
|||
use Exception;
|
||||
use getID3;
|
||||
use getid3_lib;
|
||||
use InvalidArgumentException;
|
||||
use Illuminate\Contracts\Cache\Repository as Cache;
|
||||
use InvalidArgumentException;
|
||||
use SplFileInfo;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
|
@ -69,8 +69,7 @@ class FileSynchronizer
|
|||
SongRepository $songRepository,
|
||||
Cache $cache,
|
||||
Finder $finder
|
||||
)
|
||||
{
|
||||
) {
|
||||
$this->getID3 = $getID3;
|
||||
$this->mediaMetadataService = $mediaMetadataService;
|
||||
$this->helperService = $helperService;
|
||||
|
@ -179,6 +178,7 @@ class FileSynchronizer
|
|||
|
||||
return $props;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sync the song with all available media info against the database.
|
||||
*
|
||||
|
@ -312,7 +312,6 @@ class FileSynchronizer
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Determine if the file is new (its Song record can't be found in the database).
|
||||
*/
|
||||
|
|
|
@ -7,7 +7,6 @@ use App\Events\LibraryChanged;
|
|||
use App\Libraries\WatchRecord\WatchRecordInterface;
|
||||
use App\Models\Album;
|
||||
use App\Models\Artist;
|
||||
use App\Models\Setting;
|
||||
use App\Models\Song;
|
||||
use App\Repositories\AlbumRepository;
|
||||
use App\Repositories\ArtistRepository;
|
||||
|
|
Loading…
Reference in a new issue