mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Apply fixes from StyleCI (#1039)
This commit is contained in:
parent
866f2f420a
commit
335c3370db
7 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,6 @@ use Illuminate\Database\Eloquent\Builder;
|
|||
* @method static Builder whereNotIn($keys, array $values)
|
||||
* @method static Builder select(string $string)
|
||||
*/
|
||||
|
||||
trait SupportsDeleteWhereIDsNotIn
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue