forked from GNUsocial/gnu-social
Stronger typing, require array where param array
This commit is contained in:
@@ -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])) {
|
||||
|
Reference in New Issue
Block a user