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
|
* @throws Exception
|
||||||
* @return Database
|
* @return Database
|
||||||
*/
|
*/
|
||||||
public static function getInstance($options = null)
|
public static function getInstance(array $options)
|
||||||
{
|
{
|
||||||
// if needed initialize the singleton
|
// if needed initialize the singleton
|
||||||
if (!(self::$_instance instanceof self)) {
|
if (!(self::$_instance instanceof self)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user