1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 09:09:15 +00:00

cache schema version better

This commit is contained in:
Andrew Dolgov
2021-02-25 21:42:05 +03:00
parent 22ae284db4
commit a1ca62af50
9 changed files with 24 additions and 39 deletions

View File

@@ -137,7 +137,7 @@ class Prefs {
/** @var PDO */
private $pdo;
public static function get_instance() {
public static function get_instance() : Prefs {
if (self::$instance == null)
self::$instance = new self();