@@ -335,6 +335,9 @@ |
||
335 | 335 | } |
336 | 336 | } |
337 | 337 | |
338 | + /** |
|
339 | + * @param SplObjectStorage $entities |
|
340 | + */ |
|
338 | 341 | protected function tryHydration($entities, $sub, $field, &$v) |
339 | 342 | { |
340 | 343 | $tableName = $entities[$sub]->getName(); |
@@ -176,7 +176,7 @@ |
||
176 | 176 | { |
177 | 177 | $query = $this->generateQuery($collection); |
178 | 178 | |
179 | - $withExtraList = (array)$withExtra; |
|
179 | + $withExtraList = (array) $withExtra; |
|
180 | 180 | |
181 | 181 | $withExtraList = array_merge($withExtraList, $query); |
182 | 182 |
@@ -114,7 +114,7 @@ |
||
114 | 114 | * @param Collection $collection |
115 | 115 | * @param bool|false $prefix |
116 | 116 | * |
117 | - * @return array |
|
117 | + * @return Collection |
|
118 | 118 | */ |
119 | 119 | protected function getConditionArray(Collection $collection, $prefix = false) |
120 | 120 | { |