瀏覽代碼

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

El RIDO 7 年之前
父節點
當前提交
76007b6ee9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Data/Database.php

+ 1 - 1
lib/Data/Database.php

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