Procházet zdrojové kódy

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

El RIDO před 7 roky
rodič
revize
76007b6ee9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lib/Data/Database.php

+ 1 - 1
lib/Data/Database.php

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