mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 20:04:32 +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 $server_info = '';
|
||||
/** @var PDO|mysqli */
|
||||
/** @var PDO|mysqli|null */
|
||||
protected $connection;
|
||||
protected $driver = '';
|
||||
protected $pdo_emulate_prepares = false;
|
||||
|
@ -253,7 +253,7 @@ class Database
|
|||
/**
|
||||
* Return the database object.
|
||||
*
|
||||
* @return PDO|mysqli
|
||||
* @return PDO|mysqli|null
|
||||
*/
|
||||
public function getConnection()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue