1
0
mirror of synced 2024-12-13 14:56:01 +03:00

Fixed wrong indentation by my previous commit.

This commit is contained in:
Guilherme Blanco 2011-11-15 01:09:48 -02:00
parent 9b32a2d87a
commit 45d95ad130
2 changed files with 5 additions and 3 deletions

View File

@ -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;
}

View File

@ -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) {