@@ -50,8 +50,8 @@ |
||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | - * @param $alias |
|
| 54 | - * @return array |
|
| 53 | + * @param string $alias |
|
| 54 | + * @return string[] |
|
| 55 | 55 | */ |
| 56 | 56 | public function buildAliasVariations($alias) |
| 57 | 57 | { |
@@ -2,11 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Nip\Records\Relations; |
| 4 | 4 | |
| 5 | -use Nip\Database\Query\Select as Query; |
|
| 6 | 5 | use Nip\HelperBroker; |
| 7 | 6 | use Nip\Records\AbstractModels\Record as Record; |
| 8 | 7 | use Nip\Records\Collections\Associated as AssociatedCollection; |
| 9 | -use Nip\Records\Collections\Collection; |
|
| 10 | 8 | use Nip\Records\Collections\Collection as RecordCollection; |
| 11 | 9 | use Nip\Records\Relations\Traits\HasCollectionResults; |
| 12 | 10 | |
@@ -78,8 +78,8 @@ |
||
| 78 | 78 | |
| 79 | 79 | /** |
| 80 | 80 | * @param Collection $collection |
| 81 | - * @param $manager |
|
| 82 | - * @return Query |
|
| 81 | + * @param \Nip\Records\RecordManager $manager |
|
| 82 | + * @return \Nip\Database\Query\AbstractQuery |
|
| 83 | 83 | * @throws Exception |
| 84 | 84 | */ |
| 85 | 85 | public function getEagerQueryType(Collection $collection, $manager) |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | /** |
| 221 | - * @param Record|HasRelationsRecordTrait $item |
|
| 221 | + * @param Record $item |
|
| 222 | 222 | * @return $this |
| 223 | 223 | */ |
| 224 | 224 | public function setItem(Record $item) |