1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Removed un-necessary getIterator().

This commit is contained in:
Guilherme Blanco 2012-05-29 15:14:08 -04:00
parent 6521e51170
commit 9445502885
3 changed files with 3 additions and 3 deletions

View File

@ -762,7 +762,7 @@ abstract class AbstractQuery
{
$parameters = array();
foreach ($this->getParameters()->getIterator() as $parameter) {
foreach ($this->getParameters() as $parameter) {
$parameters[$parameter->getName()] = $this->processParameterValue($parameter->getValue());
}

View File

@ -61,7 +61,7 @@ final class NativeQuery extends AbstractQuery
$parameters = array();
$types = array();
foreach ($this->getParameters()->getIterator() as $parameter) {
foreach ($this->getParameters() as $parameter) {
$name = $parameter->getName();
$value = $this->processParameterValue($parameter->getValue());
$type = ($parameter->getValue() === $value)

View File

@ -275,7 +275,7 @@ final class Query extends AbstractQuery
$sqlParams = array();
$types = array();
foreach ($this->parameters->getIterator() as $parameter) {
foreach ($this->parameters as $parameter) {
$key = $parameter->getName();
if ( ! isset($paramMappings[$key])) {