mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
fixing class compatibility (why is this no longer enforced in PHP > 7.1?)
This commit is contained in:
parent
f58cbefd1e
commit
76007b6ee9
|
@ -67,7 +67,7 @@ class Database extends AbstractData
|
|||
* @throws Exception
|
||||
* @return Database
|
||||
*/
|
||||
public static function getInstance($options = null)
|
||||
public static function getInstance(array $options)
|
||||
{
|
||||
// if needed initialize the singleton
|
||||
if (!(self::$_instance instanceof self)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user