Merge pull request #119 from phanan/analysis-zYeMoz

Applied fixes from StyleCI
This commit is contained in:
Phan An 2015-12-20 01:08:40 +08:00
commit 00922e817c
5 changed files with 10 additions and 10 deletions

View file

@ -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
*/ */

View file

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

View file

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

View file

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

View file

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