Apply fixes from StyleCI (#798)

This commit is contained in:
Phan An 2018-08-30 12:37:24 +07:00 committed by GitHub
parent 351efe4092
commit b91d478fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

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

View file

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