Added type annotation

This commit is contained in:
Rudi Grinberg 2012-09-05 17:48:15 -04:00
parent 0385c008ce
commit d2e883da7a
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<?php
class Application_Common_Database{
public static function prepareAndExecute($sql, $paramValueMap, $type='all'){
public static function prepareAndExecute($sql, array $paramValueMap, $type='all'){
$con = Propel::getConnection();
$stmt = $con->prepare($sql);
foreach ($paramValueMap as $param => $v) {
@ -21,4 +21,4 @@ class Application_Common_Database{
}
return $rows;
}
}
}