mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
Apply fixes from StyleCI (#798)
This commit is contained in:
parent
351efe4092
commit
b91d478fdf
2 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,8 @@ class ApplicationInformationService
|
|||
/**
|
||||
* Get the latest version number of Koel from GitHub.
|
||||
*/
|
||||
public function getLatestVersionNumber(): string {
|
||||
public function getLatestVersionNumber(): string
|
||||
{
|
||||
return $this->cache->remember('latestKoelVersion', 1 * 24 * 60, function (): string {
|
||||
try {
|
||||
return json_decode(
|
||||
|
|
|
@ -7,9 +7,9 @@ use GuzzleHttp\Client;
|
|||
use GuzzleHttp\Handler\MockHandler;
|
||||
use GuzzleHttp\HandlerStack;
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use Illuminate\Contracts\Cache\Repository as Cache;
|
||||
use Illuminate\Log\Logger;
|
||||
use Tests\TestCase;
|
||||
use Illuminate\Contracts\Cache\Repository as Cache;
|
||||
|
||||
class ApplicationInformationServiceTest extends TestCase
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue