mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
Dusting
This commit is contained in:
committed by
GitHub Action
parent
9fe8f623d2
commit
fb5b8f8281
@@ -19,7 +19,7 @@ class CloudflarePurgeCommand extends Command
|
||||
public function handle(): void
|
||||
{
|
||||
if (App::environment('production')) {
|
||||
$client = new Client();
|
||||
$client = new Client;
|
||||
$cf_zone_id = config('cloudflare.cf_zone_id');
|
||||
$cf_auth_bearer = config('cloudflare.cf_auth_bearer');
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ function getRoleIcon($roleName): string
|
||||
|
||||
function getAverageColorFromImageUrl($imageUrl): string
|
||||
{
|
||||
$imgManager = new ImageManager(new Driver());
|
||||
$imgManager = new ImageManager(new Driver);
|
||||
|
||||
try {
|
||||
$img = $imgManager->read(file_get_contents($imageUrl));
|
||||
|
||||
Reference in New Issue
Block a user