WEB: Various small fixes

These are either cosmetic or spotted by PHPStan
This commit is contained in:
Le Philousophe committed 2025-08-24 12:32:47 +02:00
1 parent 3d37c952a8
commit d7c3bd0528
9 files changed
+13 -11

No files matched your search

+1 -1
View File
@@ -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;