Fixed wrong indentation by my previous commit.
This commit is contained in:
parent
9b32a2d87a
commit
45d95ad130
@ -310,7 +310,9 @@ class ObjectHydrator extends AbstractHydrator
|
||||
// Extract scalar values. They're appended at the end.
|
||||
if (isset($rowData['scalars'])) {
|
||||
$scalars = $rowData['scalars'];
|
||||
|
||||
unset($rowData['scalars']);
|
||||
|
||||
if (empty($rowData)) {
|
||||
++$this->_resultCounter;
|
||||
}
|
||||
|
@ -524,9 +524,9 @@ class SqlWalker implements TreeWalker
|
||||
$this->_query->getHint(Query::HINT_INCLUDE_META_COLUMNS);
|
||||
|
||||
foreach ($this->_selectedClasses as $selectedClass) {
|
||||
$class = $selectedClass['class'];
|
||||
$dqlAlias = $selectedClass['dqlAlias'];
|
||||
$resultAlias = $selectedClass['resultAlias'];
|
||||
$class = $selectedClass['class'];
|
||||
$dqlAlias = $selectedClass['dqlAlias'];
|
||||
$resultAlias = $selectedClass['resultAlias'];
|
||||
|
||||
// Register as entity or joined entity result
|
||||
if ($this->_queryComponents[$dqlAlias]['relation'] === null) {
|
||||
|
Loading…
Reference in New Issue
Block a user