mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-11-18 21:35:12 +00:00
WEB: Various small fixes
These are either cosmetic or spotted by PHPStan
This commit is contained in:
1 parent
3d37c952a8
commit
d7c3bd0528
9 files changed
+13
-11
No files matched your search
@@ -14,7 +14,7 @@ abstract class BasicModel
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
if (is_null(self::$cache)) {
|
||||
if (!isset(self::$cache)) {
|
||||
try {
|
||||
$driver = extension_loaded('redis') ? 'redis' : 'predis';
|
||||
$database = DEV_SERVER ? 7 : 8;
|
||||
|
||||
Reference in new issue
Block a user