]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Safe_DataObject.php
Replace common_good_random with common_random_hexstr
[quix0rs-gnu-social.git] / classes / Safe_DataObject.php
index f0ea6b136f92f5229b1376d57f6a26f29af203ab..622b57f2900a291529a48be2a9442d7f3ea6abfc 100644 (file)
@@ -108,7 +108,7 @@ class Safe_DataObject extends DB_DataObject
      * @return mixed
      * @throws Exception
      */
-    function __call($method, $params)
+    function __call($method, array $params)
     {
         $return = null;
         // Yes, that's _call with one underscore, which does the
@@ -259,7 +259,7 @@ class Safe_DataObject extends DB_DataObject
      * @param array of .ini file names $schemas
      * @return array
      */
-    protected function parseIniFiles($schemas)
+    protected function parseIniFiles(array $schemas)
     {
         $key = implode("|", $schemas);
         if (!isset(Safe_DataObject::$iniCache[$key])) {
@@ -287,4 +287,3 @@ class Safe_DataObject extends DB_DataObject
         return Safe_DataObject::$iniCache[$key];
     }
 }
-