mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Merge pull request #119 from phanan/analysis-zYeMoz
Applied fixes from StyleCI
This commit is contained in:
commit
00922e817c
5 changed files with 10 additions and 10 deletions
|
@ -41,9 +41,9 @@ class SongController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get extra information about a song via Last.fm
|
* Get extra information about a song via Last.fm.
|
||||||
*
|
*
|
||||||
* @param string $id
|
* @param string $id
|
||||||
*
|
*
|
||||||
* @return \Illuminate\Http\JsonResponse
|
* @return \Illuminate\Http\JsonResponse
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -106,7 +106,7 @@ class Album extends Model
|
||||||
* Write a cover image file with binary data and update the Album with the new cover file.
|
* Write a cover image file with binary data and update the Album with the new cover file.
|
||||||
*
|
*
|
||||||
* @param string $binaryData
|
* @param string $binaryData
|
||||||
* @param string $extension The file extension
|
* @param string $extension The file extension
|
||||||
*/
|
*/
|
||||||
private function writeCoverFile($binaryData, $extension)
|
private function writeCoverFile($binaryData, $extension)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
|
||||||
class AddPreferencesToUsersTable extends Migration
|
class AddPreferencesToUsersTable extends Migration
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
use App\Services\Lastfm;
|
||||||
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use GuzzleHttp\Psr7\Response;
|
use GuzzleHttp\Psr7\Response;
|
||||||
use App\Services\Lastfm;
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||||
|
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
||||||
|
|
||||||
class LastfmTest extends TestCase
|
class LastfmTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
use App\Services\RESTfulService;
|
||||||
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
|
||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use GuzzleHttp\Psr7\Response;
|
use GuzzleHttp\Psr7\Response;
|
||||||
use App\Services\RESTfulService;
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||||
|
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
||||||
|
|
||||||
class RESTfulAPIServiceTest extends TestCase
|
class RESTfulAPIServiceTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue