Skip to content
Permalink
Browse files

Fix ValueBinder functionality to match methods comments

  • Loading branch information...
coryjthompson committed Jan 25, 2017
1 parent b420775 commit c9e5fb99527844bf7e9bbebe97f81dcf3bc3696b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Database/ValueBinder.php
@@ -67,8 +67,8 @@ public function bind($param, $value, $type = 'string')
public function placeholder($token)
{
$number = $this->_bindingsCount++;
if ($token[0] !== ':' || $token !== '?') {
$token = sprintf(':c%s', $number);
if ($token[0] !== ':' && $token !== '?') {
$token = sprintf(':%s%s', $token, $number);
}
return $token;

0 comments on commit c9e5fb9

Please sign in to comment.
You can’t perform that action at this time.