Merge pull request #346 from phanan/analysis-qo7Mv7

Applied fixes from StyleCI
This commit is contained in:
Phan An 2016-05-30 13:52:18 +08:00
commit a17264acb7
3 changed files with 1 additions and 3 deletions

View file

@ -5,7 +5,6 @@ namespace App\Http\Controllers\API;
use App\Http\Requests\API\UserLoginRequest; use App\Http\Requests\API\UserLoginRequest;
use App\Models\User; use App\Models\User;
use Exception; use Exception;
use Hash;
use JWTAuth; use JWTAuth;
use Log; use Log;
use Tymon\JWTAuth\Exceptions\JWTException; use Tymon\JWTAuth\Exceptions\JWTException;

View file

@ -10,7 +10,6 @@ Route::get('/♫', function () {
}); });
Route::group(['prefix' => 'api', 'namespace' => 'API'], function () { Route::group(['prefix' => 'api', 'namespace' => 'API'], function () {
Route::post('me', 'AuthController@login'); Route::post('me', 'AuthController@login');
Route::delete('me', 'AuthController@logout'); Route::delete('me', 'AuthController@logout');

View file

@ -1,7 +1,7 @@
<?php <?php
use App\Models\User;
use App\Models\Setting; use App\Models\Setting;
use App\Models\User;
use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\WithoutMiddleware;