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
* @return Database
*/
public static function getInstance($options = null)
public static function getInstance(array $options)
{
// if needed initialize the singleton
if (!(self::$_instance instanceof self)) {