Skip to content
Permalink
Browse files

Fix CS

  • Loading branch information...
dereuromark committed Dec 19, 2016
1 parent 8ba7371 commit 153cbdeb5020c9d789382508c6417d172ccdf137
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/ORM/ResultSet.php
@@ -497,10 +497,10 @@ protected function _groupResult($row)
array_intersect_key($row, $keys)
);
if ($this->_hydrate) {
/** @var \Cake\ORM\Table $table */
/* @var \Cake\ORM\Table $table */
$table = $matching['instance'];
$options['source'] = $table->registryAlias();
/** @var \Cake\Datasource\EntityInterface $entity */
/* @var \Cake\Datasource\EntityInterface $entity */
$entity = new $matching['entityClass']($results['_matchingData'][$alias], $options);
$entity->clean();
$results['_matchingData'][$alias] = $entity;
@@ -521,7 +521,7 @@ protected function _groupResult($row)
continue;
}
/** @var \Cake\ORM\Association $instance */
/* @var \Cake\ORM\Association $instance */
$instance = $assoc['instance'];
if (!$assoc['canBeJoined'] && !isset($row[$alias])) {

0 comments on commit 153cbde

Please sign in to comment.
You can’t perform that action at this time.