Removed un-necessary getIterator().
This commit is contained in:
parent
6521e51170
commit
9445502885
@ -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());
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user