@@ 1619-1625 (lines=7) @@ | ||
1616 | $bindIndex = 1; |
|
1617 | foreach ($params as $value) { |
|
1618 | $typeIndex = $bindIndex + $typeOffset; |
|
1619 | if (isset($types[$typeIndex])) { |
|
1620 | $type = $types[$typeIndex]; |
|
1621 | list($value,) = $this->getBindingInfo($value, $type); |
|
1622 | $resolvedParams[$bindIndex] = $value; |
|
1623 | } else { |
|
1624 | $resolvedParams[$bindIndex] = $value; |
|
1625 | } |
|
1626 | ++$bindIndex; |
|
1627 | } |
|
1628 | } else { |
|
@@ 1631-1637 (lines=7) @@ | ||
1628 | } else { |
|
1629 | // Named parameters |
|
1630 | foreach ($params as $name => $value) { |
|
1631 | if (isset($types[$name])) { |
|
1632 | $type = $types[$name]; |
|
1633 | list($value,) = $this->getBindingInfo($value, $type); |
|
1634 | $resolvedParams[$name] = $value; |
|
1635 | } else { |
|
1636 | $resolvedParams[$name] = $value; |
|
1637 | } |
|
1638 | } |
|
1639 | } |
|
1640 |