From 5481191730ed3de6fd7f6caf44c6402b3b9a72ca Mon Sep 17 00:00:00 2001 From: Rudi Grinberg <rudi.grinberg@sourcefabric.org> Date: Wed, 5 Sep 2012 18:01:20 -0400 Subject: [PATCH] added type hint --- airtime_mvc/application/common/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/common/Database.php b/airtime_mvc/application/common/Database.php index 3809b3d65..3dd937a70 100644 --- a/airtime_mvc/application/common/Database.php +++ b/airtime_mvc/application/common/Database.php @@ -1,7 +1,7 @@ <?php class Application_Common_Database { - public static function prepareAndExecute($sql, $paramValueMap, $type='all', $fetchType=PDO::FETCH_ASSOC) + public static function prepareAndExecute($sql, array $paramValueMap, $type='all', $fetchType=PDO::FETCH_ASSOC) { $con = Propel::getConnection(); $stmt = $con->prepare($sql);