@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace Nip\Records\Tests\Relations; |
| 4 | 4 | |
| 5 | 5 | use Mockery as m; |
| 6 | -use Nip\Container\Container; |
|
| 7 | -use Nip\Database\Connections\Connection; |
|
| 8 | 6 | use Nip\Records\Record; |
| 9 | 7 | use Nip\Records\RecordManager; |
| 10 | 8 | use Nip\Records\Relations\MorphToMany; |
@@ -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) |