mirror of
https://github.com/friendica/friendica
synced 2025-04-30 09:44:22 +02:00
Both declarations must be the same
This commit is contained in:
parent
cd3b01fd82
commit
9c80dd35e5
2 changed files with 6 additions and 6 deletions
|
@ -42,7 +42,7 @@ class DBA
|
|||
*/
|
||||
const NULL_DATETIME = '0001-01-01 00:00:00';
|
||||
|
||||
public static function connect()
|
||||
public static function connect(): bool
|
||||
{
|
||||
return DI::dba()->connect();
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ class DBA
|
|||
/**
|
||||
* Perform a reconnect of an existing database connection
|
||||
*/
|
||||
public static function reconnect()
|
||||
public static function reconnect(): bool
|
||||
{
|
||||
return DI::dba()->reconnect();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue