@@ -394,7 +394,7 @@ |
||
| 394 | 394 | |
| 395 | 395 | /** |
| 396 | 396 | * @param UserAssociation|int|array|null $object |
| 397 | - * @return int|null |
|
| 397 | + * @return integer |
|
| 398 | 398 | */ |
| 399 | 399 | protected function findKey($object = null) |
| 400 | 400 | { |
@@ -9,6 +9,7 @@ discard block |
||
| 9 | 9 | namespace flipbox\craft\element\lists\relationships; |
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | +use Tightenco\Collect\Support\Collection; |
|
| 12 | 13 | use craft\base\ElementInterface; |
| 13 | 14 | use craft\elements\db\ElementQueryInterface; |
| 14 | 15 | use craft\helpers\ArrayHelper; |
@@ -19,7 +20,6 @@ discard block |
||
| 19 | 20 | use flipbox\craft\element\lists\records\Association; |
| 20 | 21 | use flipbox\craft\ember\helpers\QueryHelper; |
| 21 | 22 | use flipbox\organizations\records\UserAssociation; |
| 22 | -use Tightenco\Collect\Support\Collection; |
|
| 23 | 23 | use yii\base\BaseObject; |
| 24 | 24 | use yii\base\UnknownPropertyException; |
| 25 | 25 | use yii\db\QueryInterface; |