mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
style: fixes from styleci
Apply fixes from StyleCI
This commit is contained in:
@@ -8,10 +8,8 @@ use App\Models\Champion;
|
|||||||
use App\Models\ChampionRoles;
|
use App\Models\ChampionRoles;
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
|
|
||||||
|
|
||||||
class ChampionController extends Controller
|
class ChampionController extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Display a listing of the resource.
|
* Display a listing of the resource.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -38,6 +38,6 @@ class SummonerIcon extends Model
|
|||||||
public function getSqidAttribute(): string
|
public function getSqidAttribute(): string
|
||||||
{
|
{
|
||||||
$sqids = new Sqids(minLength: 5);
|
$sqids = new Sqids(minLength: 5);
|
||||||
return $sqids->encode([$this->icon_id]);
|
return $sqids->encode([$this->icon_id]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user