Skip to content

Commit

Permalink
remove tab
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliytv committed Mar 14, 2018
1 parent f44654a commit 9dffb5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/Doctrine/Hydrator/Graph.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public function hydrateResultSet($stmt)
} else if ( ! isset($prev[$parent][$relationAlias])) {
$element = $this->getElement($data, $componentName);

// [FIX] Tickets #1205 and #1237
// [FIX] Tickets #1205 and #1237
$event->set('data', $element);
$listeners[$componentName]->postHydrate($event);
$instances[$componentName]->postHydrate($event);
Expand Down Expand Up @@ -418,13 +418,13 @@ protected function _getClassnameToReturn(array &$data, $component)
}
} else {
foreach($inheritanceMap as $key => $value) {
$key = $this->_tables[$component]->getFieldName($key);
if ( ! isset($data[$key]) || $data[$key] != $value) {
continue;
} else {
$matchedComponents[] = $table->getComponentName();
}
}
$key = $this->_tables[$component]->getFieldName($key);
if ( ! isset($data[$key]) || $data[$key] != $value) {
continue;
} else {
$matchedComponents[] = $table->getComponentName();
}
}
}
}

Expand Down

0 comments on commit 9dffb5f

Please sign in to comment.