1
0
mirror of synced 2025-01-06 00:57:10 +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. // Extract scalar values. They're appended at the end.
if (isset($rowData['scalars'])) { if (isset($rowData['scalars'])) {
$scalars = $rowData['scalars']; $scalars = $rowData['scalars'];
unset($rowData['scalars']); unset($rowData['scalars']);
if (empty($rowData)) { if (empty($rowData)) {
++$this->_resultCounter; ++$this->_resultCounter;
} }

View File

@ -524,9 +524,9 @@ class SqlWalker implements TreeWalker
$this->_query->getHint(Query::HINT_INCLUDE_META_COLUMNS); $this->_query->getHint(Query::HINT_INCLUDE_META_COLUMNS);
foreach ($this->_selectedClasses as $selectedClass) { foreach ($this->_selectedClasses as $selectedClass) {
$class = $selectedClass['class']; $class = $selectedClass['class'];
$dqlAlias = $selectedClass['dqlAlias']; $dqlAlias = $selectedClass['dqlAlias'];
$resultAlias = $selectedClass['resultAlias']; $resultAlias = $selectedClass['resultAlias'];
// Register as entity or joined entity result // Register as entity or joined entity result
if ($this->_queryComponents[$dqlAlias]['relation'] === null) { if ($this->_queryComponents[$dqlAlias]['relation'] === null) {