This commit is contained in:
rico-vz
2025-03-04 11:50:42 +00:00
committed by GitHub Action
parent 68d18311b4
commit 651b6f449e
5 changed files with 11 additions and 11 deletions

View File

@@ -90,7 +90,7 @@ function getChampionImage($full_id, $type): string
function getCommitHash(): string
{
/** @var string $commit */
$commit = Cache::remember('commit_hash', 60 * 72, fn() => trim(exec('git log --pretty="%h" -n1 HEAD')));
$commit = Cache::remember('commit_hash', 60 * 72, fn () => trim(exec('git log --pretty="%h" -n1 HEAD')));
return $commit;
}