Skip to content

Commit

Permalink
Apply fixes from StyleCI (koel#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan authored Jan 1, 2019
1 parent 7ba295e commit ff891f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/Repositories/AbstractRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ abstract class AbstractRepository implements RepositoryInterface
{
/** @var Model */
protected $model;

/** @var Guard */
protected $auth;

Expand All @@ -25,7 +25,8 @@ public function __construct()
// rendering the whole installation failing.
try {
$this->auth = app(Guard::class);
} catch (Exception $e) {}
} catch (Exception $e) {
}
}

public function getOneById($id): ?Model
Expand Down
1 change: 0 additions & 1 deletion app/Repositories/SongRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use App\Models\Song;
use App\Services\HelperService;
use Illuminate\Contracts\Auth\Guard;

class SongRepository extends AbstractRepository
{
Expand Down

0 comments on commit ff891f8

Please sign in to comment.