@@ -123,7 +123,7 @@ |
||
| 123 | 123 | *******************************************/ |
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | - * @param array $types |
|
| 126 | + * @param UserType[] $types |
|
| 127 | 127 | * @param int $userAssociationId |
| 128 | 128 | * @return array |
| 129 | 129 | */ |
@@ -13,9 +13,9 @@ |
||
| 13 | 13 | use flipbox\ember\helpers\ArrayHelper; |
| 14 | 14 | use flipbox\ember\helpers\ObjectHelper; |
| 15 | 15 | use flipbox\ember\services\traits\records\AccessorByString; |
| 16 | +use flipbox\organizations\Organizations as OrganizationsPlugin; |
|
| 16 | 17 | use flipbox\organizations\db\UserTypeQuery; |
| 17 | 18 | use flipbox\organizations\elements\Organization as OrganizationElement; |
| 18 | -use flipbox\organizations\Organizations as OrganizationsPlugin; |
|
| 19 | 19 | use flipbox\organizations\records\UserAssociation; |
| 20 | 20 | use flipbox\organizations\records\UserType; |
| 21 | 21 | use flipbox\organizations\records\UserTypeAssociation; |
@@ -12,10 +12,9 @@ |
||
| 12 | 12 | use craft\helpers\ArrayHelper; |
| 13 | 13 | use flipbox\ember\helpers\ObjectHelper; |
| 14 | 14 | use flipbox\ember\services\traits\records\AccessorByString; |
| 15 | +use flipbox\organizations\Organizations as OrganizationPlugin; |
|
| 15 | 16 | use flipbox\organizations\db\OrganizationTypeQuery; |
| 16 | 17 | use flipbox\organizations\elements\Organization as OrganizationElement; |
| 17 | -use flipbox\organizations\Organizations as OrganizationPlugin; |
|
| 18 | -use flipbox\organizations\records\OrganizationType; |
|
| 19 | 18 | use flipbox\organizations\records\OrganizationType as TypeRecord; |
| 20 | 19 | use flipbox\organizations\records\OrganizationTypeAssociation; |
| 21 | 20 | use yii\base\Component; |