added type hint

This commit is contained in:
Rudi Grinberg 2012-09-05 18:01:20 -04:00
parent b112a0fe2b
commit 5481191730
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
class Application_Common_Database 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(); $con = Propel::getConnection();
$stmt = $con->prepare($sql); $stmt = $con->prepare($sql);