Skip to content

Commit

Permalink
Apply fixes from StyleCI (koel#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan authored Aug 5, 2019
1 parent 866f2f4 commit 335c337
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Models/Album.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
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
Expand All @@ -20,6 +19,7 @@
* @property int $artist_id
* @property Collection $songs
* @property bool $is_unknown
*
* @method static self firstOrCreate(array $params)
*/
class Album extends Model
Expand Down
1 change: 1 addition & 0 deletions app/Models/Artist.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* @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)
*/
Expand Down
1 change: 1 addition & 0 deletions app/Models/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/**
* @property string $key
* @property mixed $value
*
* @method static self find(string $key)
* @method static self updateOrCreate(array $where, array $params)
*/
Expand Down
1 change: 1 addition & 0 deletions app/Models/Song.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* @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)
Expand Down
1 change: 1 addition & 0 deletions app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @property int $id
* @property bool $is_admin
* @property string $lastfm_session_key
*
* @method static self create(array $params)
* @method static int count()
*/
Expand Down
1 change: 0 additions & 1 deletion app/Traits/SupportsDeleteWhereIDsNotIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* @method static Builder whereNotIn($keys, array $values)
* @method static Builder select(string $string)
*/

trait SupportsDeleteWhereIDsNotIn
{
/**
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Http/Middleware/ForceHttpsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 335c337

Please sign in to comment.