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
case PDO::FETCH_OBJ:
$assoc = array_combine($this->_columnNames, $values);
$ret = new \stdClass();
foreach ($assoc as $column => $value) {
$ret->$column = $value;
}
return $ret;
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