Use native typing in more places and clean up 'FeedEnclosure' a bit.

This commit is contained in:
wn_
2024-12-10 20:31:16 +00:00
parent 333bab90a7
commit a1bd6cea1b
13 changed files with 71 additions and 115 deletions

View File

@@ -1,11 +1,8 @@
<?php
class Db
{
/** @var Db $instance */
private static $instance;
class Db {
private static ?Db $instance = null;
/** @var PDO|null $pdo */
private $pdo;
private ?PDO $pdo = null;
function __construct() {
ORM::configure(self::get_dsn());