@@ -3,16 +3,15 @@ |
||
| 3 | 3 | namespace flipbox\organizations\behaviors; |
| 4 | 4 | |
| 5 | 5 | use Craft; |
| 6 | +use Tightenco\Collect\Support\Collection; |
|
| 6 | 7 | use craft\elements\User; |
| 7 | 8 | use craft\events\ModelEvent; |
| 8 | 9 | use flipbox\craft\ember\helpers\QueryHelper; |
| 10 | +use flipbox\organizations\Organizations as OrganizationPlugin; |
|
| 9 | 11 | use flipbox\organizations\elements\Organization; |
| 10 | 12 | use flipbox\organizations\managers\OrganizationsToUserAssociatedManager; |
| 11 | -use flipbox\organizations\Organizations as OrganizationPlugin; |
|
| 12 | 13 | use flipbox\organizations\queries\OrganizationQuery; |
| 13 | -use flipbox\organizations\records\UserAssociation; |
|
| 14 | 14 | use flipbox\organizations\validators\OrganizationsValidator; |
| 15 | -use Tightenco\Collect\Support\Collection; |
|
| 16 | 15 | use yii\base\Behavior; |
| 17 | 16 | use yii\base\Event; |
| 18 | 17 | use yii\base\Exception; |
@@ -9,12 +9,11 @@ |
||
| 9 | 9 | namespace flipbox\organizations\elements; |
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | +use Tightenco\Collect\Support\Collection; |
|
| 12 | 13 | use flipbox\craft\ember\helpers\QueryHelper; |
| 13 | 14 | use flipbox\organizations\managers\OrganizationTypeAssociationManager; |
| 14 | 15 | use flipbox\organizations\queries\OrganizationTypeQuery; |
| 15 | 16 | use flipbox\organizations\records\OrganizationType; |
| 16 | -use flipbox\organizations\records\OrganizationTypeAssociation; |
|
| 17 | -use Tightenco\Collect\Support\Collection; |
|
| 18 | 17 | |
| 19 | 18 | /** |
| 20 | 19 | * @author Flipbox Factory <[email protected]> |
@@ -9,14 +9,14 @@ |
||
| 9 | 9 | namespace flipbox\organizations\elements; |
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | +use Tightenco\Collect\Support\Collection; |
|
| 12 | 13 | use craft\db\Query; |
| 13 | -use craft\elements\db\UserQuery; |
|
| 14 | 14 | use craft\elements\User; |
| 15 | +use craft\elements\db\UserQuery; |
|
| 15 | 16 | use craft\helpers\ArrayHelper; |
| 16 | 17 | use flipbox\craft\ember\helpers\QueryHelper; |
| 17 | 18 | use flipbox\organizations\managers\UsersToOrganizationAssociatedManager; |
| 18 | 19 | use flipbox\organizations\records\UserAssociation; |
| 19 | -use Tightenco\Collect\Support\Collection; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @author Flipbox Factory <[email protected]> |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | public $id; |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param $value |
|
| 64 | + * @param \Tightenco\Collect\Support\Collection $value |
|
| 65 | 65 | * @return $this |
| 66 | 66 | */ |
| 67 | 67 | public function id($value) |