fixing class compatibility (why is this no longer enforced in PHP > 7.1?)

This commit is contained in:
El RIDO 2019-05-10 22:21:03 +02:00
parent f58cbefd1e
commit 76007b6ee9
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -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)) {