mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-06-20 17:41:42 +00:00
Fixed phpstan issues
This commit is contained in:
parent
a755287c3b
commit
cad5261aba
6 changed files with 11 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue