@@ -68,8 +68,7 @@ |
||
| 68 | 68 | string $collectionClass = null |
| 69 | 69 | ): LoadsWhenTriggered { |
| 70 | 70 | $hydrator = $collectionClass ? |
| 71 | - VariadicConstructor::forThe($collectionClass) : |
|
| 72 | - ArrayHydrator::create(); |
|
| 71 | + VariadicConstructor::forThe($collectionClass) : ArrayHydrator::create(); |
|
| 73 | 72 | $new = clone $this; |
| 74 | 73 | $new->relation[$label] = HasMany::in($property, $hydrator); |
| 75 | 74 | return $new; |