Apply fixes from StyleCI (#1039)

This commit is contained in:
Phan An 2019-08-05 17:57:36 +07:00 committed by GitHub
parent 866f2f420a
commit 335c3370db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,6 @@ use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use PhpParser\Builder;
/**
* @property string $cover The album cover's file name
@ -20,6 +19,7 @@ use PhpParser\Builder;
* @property int $artist_id
* @property Collection $songs
* @property bool $is_unknown
*
* @method static self firstOrCreate(array $params)
*/
class Album extends Model

View file

@ -17,6 +17,7 @@ use Illuminate\Database\Eloquent\Relations\HasManyThrough;
* @property bool $is_various
* @property Collection $songs
* @property bool $has_image
*
* @method static self find(int $id)
* @method static self firstOrCreate(array $where, array $params)
*/

View file

@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
/**
* @property string $key
* @property mixed $value
*
* @method static self find(string $key)
* @method static self updateOrCreate(array $where, array $params)
*/

View file

@ -25,6 +25,7 @@ use Illuminate\Support\Collection;
* @property string $id
* @property int $artist_id
* @property int $mtime
*
* @method static self updateOrCreate(array $where, array $params)
* @method static Builder select(string $string)
* @method static Builder inDirectory(string $path)

View file

@ -11,6 +11,7 @@ use Illuminate\Notifications\Notifiable;
* @property int $id
* @property bool $is_admin
* @property string $lastfm_session_key
*
* @method static self create(array $params)
* @method static int count()
*/

View file

@ -15,7 +15,6 @@ use Illuminate\Database\Eloquent\Builder;
* @method static Builder whereNotIn($keys, array $values)
* @method static Builder select(string $string)
*/
trait SupportsDeleteWhereIDsNotIn
{
/**

View file

@ -3,7 +3,6 @@
namespace Tests\Unit\Http\Middleware;
use App\Http\Middleware\ForceHttps;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Routing\UrlGenerator;
use Mockery;