Stronger typing, require array where param array

This commit is contained in:
Mikael Nordfeldth
2013-08-29 10:27:39 +02:00
parent fac7371179
commit b3e61ce7d0
8 changed files with 21 additions and 21 deletions

View 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])) {