Address PHPStan warnings in 'classes/db.php'.
------ -------------------------------------------------- Line classes/db.php ------ -------------------------------------------------- 7 Property Db::$link is unused. 86 Property Db::pdo (PDO) in empty() is not falsy. ------ --------------------------------------------------
This commit is contained in:
parent
77a98134b8
commit
7d8837ca17
|
@ -4,9 +4,7 @@ class Db
|
||||||
/** @var Db $instance */
|
/** @var Db $instance */
|
||||||
private static $instance;
|
private static $instance;
|
||||||
|
|
||||||
private $link;
|
/** @var PDO|null $pdo */
|
||||||
|
|
||||||
/** @var PDO $pdo */
|
|
||||||
private $pdo;
|
private $pdo;
|
||||||
|
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
|
Loading…
Reference in New Issue