Fixed phpstan issues

This commit is contained in:
Jan Böhmer 2026-02-02 23:26:18 +01:00
parent a755287c3b
commit cad5261aba
6 changed files with 11 additions and 10 deletions

View file

@ -33,8 +33,6 @@ use Version\Version;
*/
class UpdateAvailableFacade
{
private const API_URL = 'https://api.github.com/repos/Part-DB/Part-DB-server/releases/latest';
private const CACHE_KEY = 'uam_latest_version';
private const CACHE_TTL = 60 * 60 * 24 * 2; // 2 day