mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Fix 13 PHPStan errors
This commit is contained in:
parent
bf530a00d7
commit
a50383836d
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ class Database
|
||||||
protected $syslock = null;
|
protected $syslock = null;
|
||||||
|
|
||||||
protected $server_info = '';
|
protected $server_info = '';
|
||||||
/** @var PDO|mysqli */
|
/** @var PDO|mysqli|null */
|
||||||
protected $connection;
|
protected $connection;
|
||||||
protected $driver = '';
|
protected $driver = '';
|
||||||
protected $pdo_emulate_prepares = false;
|
protected $pdo_emulate_prepares = false;
|
||||||
|
@ -253,7 +253,7 @@ class Database
|
||||||
/**
|
/**
|
||||||
* Return the database object.
|
* Return the database object.
|
||||||
*
|
*
|
||||||
* @return PDO|mysqli
|
* @return PDO|mysqli|null
|
||||||
*/
|
*/
|
||||||
public function getConnection()
|
public function getConnection()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue