Skip to content

Commit

Permalink
Updated code comments
Browse files Browse the repository at this point in the history
to reflect the update to what is acceptable as input parameters.
  • Loading branch information
noahheck committed May 19, 2014
1 parent 8f8307f commit 2ba04b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions E_PDOStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ public function interpolateQuery($inputParams = null)

/**
* Otherwise, if we have input parameters, we'll replace ? markers
* UPDATE - we can now accept $key => $value named parameters as well:
* $inputParams = array(
* ":username" => $username
* , ":password" => $password
* );
*/
if (is_array($inputParams) && $inputParams !== array())
{
Expand Down

0 comments on commit 2ba04b4

Please sign in to comment.