This commit is contained in:
dependabot[bot]
2024-11-04 03:19:22 +00:00
committed by GitHub Action
parent 9fe8f623d2
commit fb5b8f8281
24 changed files with 49 additions and 49 deletions

View File

@@ -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');

View File

@@ -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));