mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
Apply fixes from StyleCI
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
use App\Models\ChampionImage;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Intervention\Image\Drivers\Gd\Driver;
|
||||
use Intervention\Image\ImageManager;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
||||
function getRoleIcon($roleName): string
|
||||
{
|
||||
|
||||
@@ -21,6 +21,7 @@ class SaleController extends Controller
|
||||
|
||||
if ($response['champion_sales'] === null) {
|
||||
logger()->error('LMI has broken');
|
||||
|
||||
return abort(503, 'Trying to access array offset on value of type null');
|
||||
}
|
||||
|
||||
@@ -36,7 +37,6 @@ class SaleController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return view('sales.index', ['sales' => $sales]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user