Commit 57379036 authored by Steve Müller's avatar Steve Müller

fix code style

parent 959e19d8
...@@ -265,9 +265,11 @@ class MysqliStatement implements \IteratorAggregate, Statement ...@@ -265,9 +265,11 @@ class MysqliStatement implements \IteratorAggregate, Statement
case PDO::FETCH_OBJ: case PDO::FETCH_OBJ:
$assoc = array_combine($this->_columnNames, $values); $assoc = array_combine($this->_columnNames, $values);
$ret = new \stdClass(); $ret = new \stdClass();
foreach ($assoc as $column => $value) { foreach ($assoc as $column => $value) {
$ret->$column = $value; $ret->$column = $value;
} }
return $ret; return $ret;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment